sanitize-html
Affected
- introduced
0, fixed1.2.3(semver)
Fixed versions
1.2.3
Fix
- Fixed version
1.2.3npm install [email protected]
Advisory
Also known as: CVE-2017-16017
Cross-Site Scripting in sanitize-html
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.2.3 (semver)1.2.3
1.2.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0