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.
Metrics
Affected Vendors & Products
References
History
Thu, 23 Jul 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS | |
| First Time appeared |
Cure53
Cure53 dompurify |
|
| Weaknesses | CWE-697 | |
| CPEs | cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Cure53
Cure53 dompurify |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-07-23T15:35:54.823Z
Reserved: 2026-07-23T11:03:13.092Z
Link: CVE-2026-65903
No data.
No data.
No data.
OpenCVE Enrichment
Updated: 2026-07-23T15:15:17Z