CVE-2026-65903
5.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Summary
DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via ADD_TAGS function, causing them to be retained in sanitized output.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| cure53 | DOMPurify | 0 < 3.4.0 | affected |
| cure53 | DOMPurify | 3.4.0 | unaffected |
Weaknesses
- CWE-697: Incorrect Comparison
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-39q2-94rc-95cp
- https://www.vulncheck.com/advisories/dompurify-before-add-tags-function-bypasses-forbid-tags
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.