GHSA-wg96-3933-j2w5

ghsaUSosv

Cross-Site Scripting in sanitize-html

view advisory published 2018-11-09Licence: CC-BY-4.0

Affected versions of `sanitize-html` are vulnerable to cross-site scripting. ## Proof of Concept: `<IMG SRC= onmouseover="alert('XSS');">` produces the following: `<img src="onmouseover="alert('XSS');"" />` This is definitely invalid HTML, but would suggest that it's being interpreted incorrectly by the parser. ## Recommendation Update to version 1.2.3 or later.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2017-16017USmedium6.1—
sanitize-html is a library for scrubbing html input for malicious values Versions 1.2.2 and below have a cross site scripting vulnerability.
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