p5-HTML-StripScripts - Strip scripting constructs out of HTML

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly amd64
Package filename p5-HTML-StripScripts-1.06.txz
Package name p5-HTML-StripScripts
Package version 1.06
Package release -
Package architecture amd64
Package type txz
Category perl5 www
Homepage https://metacpan.org/release/HTML-StripScripts
License GPLv1+, ART10
Maintainer bofh@FreeBSD.org
Download size 28.89 KB
Installed size 78.47 KB
This module strips scripting constructs out of HTML, leaving as
much non-scripting markup in place as possible. This allows web
applications to display HTML originating from an untrusted source
without introducing XSS (cross site scripting) vulnerabilities.
You will probably use HTML::StripScripts::Parser rather than using
this module directly.
The process is based on whitelists of tags, attributes and attribute
values. This approach is the most secure against disguised scripting
constructs hidden in malicious HTML documents. As well as removing
scripting constructs, this module ensures that there is a matching
end for each start tag, and that the tags are properly nested.
Previously, in order to customise the output, you needed to subclass
HTML::StripScripts and override methods. Now, most customisation
can be done through the Rules option provided to new(). (See
examples/declaration/ and examples/tags/ for cases where subclassing
is necessary.) The HTML document must be parsed into start tags,
end tags and text before it can be filtered by this module. Use
either HTML::StripScripts::Parser or HTML::StripScripts::Regex
instead if you want to input an unparsed HTML document.
WWW: https://metacpan.org/release/HTML-StripScripts


Package Version Architecture Repository
p5-HTML-StripScripts-1.06.txz 1.06 i386 FreeBSD Ports Quarterly
p5-HTML-StripScripts-1.06.txz 1.06 i386 FreeBSD Ports Latest
p5-HTML-StripScripts-1.06.txz 1.06 amd64 FreeBSD Ports Latest
p5-HTML-StripScripts - - -


Name Value
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-HTML-StripScripts-1.06.txz
Source Package www/p5-HTML-StripScripts

Install Howto

Install p5-HTML-StripScripts txz package:

# pkg install p5-HTML-StripScripts

See Also

Package Description
p5-HTML-StripScripts-Parser-1.03_1.txz XSS filter using HTML::Parser
p5-HTML-Summary-0.020.txz Produces summaries from the textual content of web pages
p5-HTML-SuperForm-1.09_1.txz HTML form generator
p5-HTML-Table-2.08a_2.txz Generate HTML tables for CGI scripts
p5-HTML-TableContentParser-0.300.txz Do interesting things with the contents of tables
p5-HTML-TableExtract-2.15.txz Extract text contained in tables within an HTML document
p5-HTML-TableLayout-1.001008_1.txz Layout manager for CGI-based web applications
p5-HTML-TableParser-0.43.txz Extract data from an HTML table
p5-HTML-TableTiler-1.21_1.txz Module generate a HTML table from bidimensional array data
p5-HTML-TagCloud-0.38_1.txz HTML::TagCloud - Generate An HTML Tag Cloud
p5-HTML-TagCloud-Extended-0.10_1.txz HTML::TagCloud extension for time-stamp based coloring of tags
p5-HTML-TagFilter-1.03_1.txz Fine-grained html-filter, xss-blocker and mailto-obfuscator
p5-HTML-TagParser-0.20_1.txz Yet another HTML tag parser by pure Perl implementation
p5-HTML-Tagset-3.20_1.txz Some useful data table in parsing HTML
p5-HTML-Template-2.95_1.txz Perl module to use HTML Templates from CGI scripts