Description
Affected versions of sanitize-html
do not sanitize input recursively, which may allow an attacker to execute arbitrary Javascript.
Recommendation
Update the sanitize-html
package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.4.3
- Patched version(s): 1.4.3
References
- GHSA-3j7m-hmh3-9jmp
- raw.githubusercontent.com
- www.npmjs.com
- CVE-2016-1000237
- CWE-79
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- The AuthKit Remix Library renders sensitive auth data in HTML - CVE-2025-55009
- NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies - CVE-2025-48947
- Strapi allows Server-Side Request Forgery in Webhook function - CVE-2024-52588
- Redoc Prototype Pollution via `Module.mergeObjects` Component - CVE-2024-57083
- Tags:
- npm
- sanitize-html
Anything's wrong? Let us know Last updated on January 09, 2023