CVE Catalog

CVE-2026-65903

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

DOMPurify before version 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.

Risk Assessment

The risk involves potential injection of dangerous HTML tags, which could lead to XSS and other attacks.

Recommendation

It is recommended to upgrade DOMPurify to version 3.4.0 or later.

Other vulnerabilities in DOMPurify

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS