Back to overview

CVE-2026-65903

MEDIUM
6.1
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-65903
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-23 11:03 UTC
Published
2026-07-23 13:16 UTC
Last updated
2026-07-23 13:16 UTC
Primary CWE
CWE-697
Incorrect Comparison
Vendor / Product
cure53 / DOMPurify
Sources
cve.org  ·  NVD

Severity & Metrics

6.1 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products (1)
VendorProductPlatformVersions
cure53 DOMPurify 0 < 3.4.0, 3.4.0
Weakness (CWE)
CWESourceDescription
CWE-697 cna Incorrect Comparison
CVSS scores (2)
ScoreSeverityVersionSourceVector
6.1 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
5.1 MEDIUM 4.0 cna 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
References (2)
Back to overview