MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-41240GHSA-h7mw-gpvr-xq4mWID-SEC-W-2026-1407:CVE-2026-41240WID-SEC-W-2026-2892:CVE-2026-41240WID-SEC-W-2026-3000:CVE-2026-41240WID-SEC-W-2026-3046:CVE-2026-41240

DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)

Not on CISA KEVCVSS 6.0 (v4.0)
  • Overview

Summary

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions prior to 3.4.0 have an inconsistency between FORBID_TAGS and FORBID_ATTR handling when function-based ADD_TAGS is used. Commit c361baa added an early exit for FORBID_ATTR at line 1214. The same fix was not

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)