Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-65903 EUVD-2026-48272GHSA-39q2-94rc-95cp

DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS

Published Jul 23, 2026 · Updated Jul 23, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
cure53 DOMPurify < 3.4.0 3.4.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-dompurify 3.4.1+dfsg-1 —
Debian 13 node-dompurify No fix yet —
Debian 12 node-dompurify No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS node-dompurify No fix yet —
Ubuntu 24.04 LTS node-dompurify No fix yet —
Ubuntu 22.04 LTS node-dompurify No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.76.7.0.git145.b60ef1146-1.1 openSUSE-SU-2026:12070-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3 +1 3.164.0-r6 —
Wolfi rolling nextcloud-server-33 33.0.6-r0 —
Wolfi rolling opensearch-dashboards-3 3.6.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm dompurify < 3.4.0 3.4.0 GHSA-39q2-94rc-95cp

Advisories 1

References