FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

Sanitize -- XSS vulnerability

Affected packages
rubygem-sanitize < 2.6.3


VuXML ID 39a30e0a-0c34-431b-9dce-b87cab02412a
Discovery 2018-03-19
Entry 2018-03-21

Sanitize release:

Fixed an HTML injection vulnerability that could allow XSS.

When Sanitize <= 4.6.2 is used in combination with libxml2 >= 2.9.2, a specially crafted HTML fragment can cause libxml2 to generate improperly escaped output, allowing non-whitelisted attributes to be used on whitelisted elements.

Sanitize now performs additional escaping on affected attributes to prevent this.


CVE Name CVE-2018-3740