sanitize-html
Affected
- introduced
0, fixed2.0.0-beta(semver)
Fixed versions
2.0.0-beta
Fix
- Fixed version
2.0.0-betanpm install [email protected]
Advisory
Also known as: CVE-2019-25225
sanitize-html is vulnerable to XSS through incomprehensive sanitization
sanitize-html prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The sanitizeHtml() function in index.js does not sanitize content when using the custom transformTags option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.
Medium Basis: The source's own band: MODERATE
0, fixed 2.0.0-beta (semver)2.0.0-beta
2.0.0-betanpm 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