GHSA-7f42-p84j-f58p

ghsaUSosv

Sanitize vulnerable to Improper Input Validation and Cross-site Scripting

view advisory published 2018-03-21Licence: CC-BY-4.0

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. This can allow HTML and JavaScript injection, which could result in XSS if Sanitize's output is served to browsers.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2018-3740UShigh7.5—
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan