Skip to main content
← All vulnerabilities
CVE-2026-65903GHSA-39Q2-94RC-95CP

DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cure53 DOMPurify

    fixed in 3.4.0

  • dompurifynpm

    fixed in 3.4.0

References 2

GitHub · cure53/DOMPurify

vulncheck.com