dompurify is vulnerable to Improper Input Validation
38
CVE Score
Low
Improper Input Validation
dompurify configuration and hook handling could allow security-sensitive allowlists to be silently widened and persist across later sanitization calls, weakening the intended filtering behavior. It also accepted attacker-controlled hook entry point keys without verifying they were own properties, creating a prototype pollution risk. Together, these flaws could let unsafe HTML or attributes survive sanitization and lead to DOM-based XSS. An attacker might exploit this by influencing hook registration or sanitizer configuration so that malicious content is treated as allowed, then injecting crafted payloads that execute JavaScript in a victim’s browser.
Upgrade the dompurify library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.0.6 - 3.4.10
Fixed in 3.4.11dompurify is vulnerable to Improper Input Validation in versions 3.0.6 - 3.4.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.