sanitize-html
Affected
- introduced
0, fixed2.3.2(semver)
Fixed versions
2.3.2
Fix
- Fixed version
2.3.2npm install [email protected]
Advisory
Also known as: CVE-2021-26540
Improper Input Validation in sanitize-html
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com".
Medium Basis: The source's own band: MODERATE
0, fixed 2.3.2 (semver)2.3.2
2.3.2npm 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