Vulnerability

CVE-2026-65903

mediumCVSS 4.0 5.1Published 23 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Cure53 dompurify

Weakness type

References

  • github.com /cure53/DOMPurify/security/advisories/GHSA-39q2-94rc-95cp
  • www.vulncheck.com /advisories/dompurify-before-add-tags-function-bypasses-for…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning