Description
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the “allowedIframeHostnames” option.
Recommendation
Update the sanitize-html package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.3.1
- Patched version(s): 2.3.1
References
Related Issues
- parse is vulnerable to prototype pollution - CVE-2025-57324
- static-server Path Traversal vulnerability - CVE-2023-26152
- sanitize-html is vulnerable to XSS through incomprehensive sanitization - CVE-2019-25225
- chromedriver Downloads Resources over HTTP - CVE-2016-10579
- Tags:
- npm
- sanitize-html
Anything's wrong? Let us know Last updated on April 21, 2023