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
- Improper Input Validation in sanitize-html - sanitize-html - CVE-2021-26540
- Improper Neutralization of Input in Theia console - CVE-2021-28161
- Apostrophe has default XSS via `xmp` raw-text passthrough in `sanitize-html` - CVE-2026-44990
- Cross-Site Scripting in sanitize-html - CVE-2017-16017
You might also like:
- Tags:
- npm
- sanitize-html
Anything's wrong? Let us know Last updated on April 21, 2023


