CVE-2026-65903
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.1
- CVSS vector
- 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
- EPSS probability
- 0.33%
- CWE
- CWE-697
- Published
- 2026-07-23
- Last modified
- 2026-07-24
Affected products
- cure53 DOMPurify
- cure53 DOMPurify
Weakness type
Related vulnerabilities
- CVE-2026-56101 — OpenBSD ieee80211_crypto_tkip.c TKIP MIC Countermeasure Logic Inversion DoS
- CVE-2026-73309 — XenForo < 2.3.13 Authentication Bypass via OAuth2 Token Endpoint
- CVE-2026-80227 — SQL string_trim removes only spaces, diverging from in-memory trimming in AshSql
- CVE-2026-18664 — Wrong interpretation of ACL ranges
- CVE-2026-73258 — Mongoose: Multipart boundary/header scan logic error in mg_http_next_multipart
- CVE-2026-75110 — MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRET
- CVE-2026-50029 — js-toml has silent type confusion via falsy-primitive duplicate-key bypass
- CVE-2026-20765 — Incorrect comparison for some Intel(R) TDX Guest software before version 0.3.1 within Ring 3: User...