libhtml-defang-perl - cleans HTML and CSS of scripting, executable contents and XSS attacks

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libhtml-defang-perl
Package version 1.04
Package release 2
Package architecture all
Package type deb
Installed size 95 B
Download size 33.47 KB
Official Mirror
HTML::Defang accepts an input HTML and/or CSS string and removes any
executable code including scripting, embedded objects, applets, etc.,
and neutralises any XSS attacks. A whitelist based approach is used
which means only HTML known to be safe is allowed through.
HTML::Defang uses a custom html tag parser. The parser has been
designed and tested to work with nasty real world html and to try and
emulate as close as possible what browsers actually do with strange
looking constructs. The test suite has been built based on examples
from a range of sources such as <> and
<> to ensure that as many as
possible XSS attack scenarios have been dealt with.


Package Version Architecture Repository
libhtml-defang-perl_1.04-2_all.deb 1.04 all Debian Main
libhtml-defang-perl - - -


Name Value
perl -


Type URL
Binary Package libhtml-defang-perl_1.04-2_all.deb
Source Package libhtml-defang-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libhtml-defang-perl deb package:
    # sudo apt-get install libhtml-defang-perl




2014-05-21 - Jonas Smedegaard <>
libhtml-defang-perl (1.04-2) unstable; urgency=low
[ Salvatore Bonaccorso ]
* Change Vcs-Git to use canonical hostname (
[ Jonas Smedegaard ]
* Add README.source emphasizing file as *not* a
show-stopper for contributions, referring to wiki page for details.
* Bump to standards-version 3.9.5.
* Fix use canonical Vcs-Git URL.
* Update watch file to use URL.
* Update copyright info:
+ Extend coverage of packaging, and bump its licensing to GPL-3+.
2012-07-19 - Jonas Smedegaard <>
libhtml-defang-perl (1.04-1) unstable; urgency=low
* Friendly takeover (via Debian Perl Group).
Thanks to Ivan for past contributions.
* Repackage using CDBS.
Build-depend on cdbs, devscripts and dh-buildinfo.
Relax to build-depend unversioned on debhelper.
* Bump standards-version to 3.9.3.
* Bump debhelper compatibility level to 8.
* Use dpkg source format 3.0 (quilt).
* Add git-buildpackage config enabling pristine-tar and signed tags.
Git-ignore quilt .pc subdir.
* Shorten short description, and rewrap long description at 72 chars.
* Add Vcs-* paragraphs.
* Rewrite copyright file using format 1.0.
2010-03-24 - Ivan Kohler <>
libhtml-defang-perl (1.02-1) unstable; urgency=low
* Initial Release (closes: Bug#575285).

See Also

Package Description
libhtml-diff-perl_0.561-1_all.deb module for comparing two HTML documents
libhtml-display-perl_0.40-1_all.deb module for displaying HTML locally in a browser
libhtml-element-extended-perl_1.18-1_all.deb extended HTML::Element classes
libhtml-embedded-turtle-perl_0.404-1_all.deb embedding RDF in HTML the crazy way
libhtml-encoding-perl_0.61-1_all.deb perl module determining the encoding of HTML/XML/XHTML documents
libhtml-entities-numbered-perl_0.04-1_all.deb Conversion of numbered HTML entities
libhtml-fillinform-perl_2.21-1_all.deb module for populating HTML forms with data
libhtml-form-perl_6.03-1_all.deb module that represents an HTML form element
libhtml-format-perl_2.11-1_all.deb module for transforming HTML into various formats
libhtml-formattext-withlinks-andtables-perl_0.02-1_all.deb Perl module to converts HTML to Text with tables intact
libhtml-formattext-withlinks-perl_0.14-1_all.deb Perl module to convert HTML to text with links as footnotes
libhtml-formfu-model-dbic-perl_2.00-1_all.deb module to integrate HTML::FormFu with DBIx::Class
libhtml-formfu-perl_2.01000-1_all.deb HTML form creation, rendering and validation framework
libhtml-formhandler-model-dbic-perl_0.29-1_all.deb base class that holds DBIC model role
libhtml-formhandler-perl_0.40057-1_all.deb form handler written in Moose