CVE-2026-65903
published medium CVSS 4.0 · 5.1DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cure53 | — | DOMPurify0 to < 3.4.0 (affected · semver) · 3.4.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cure53 | DOMPurify | 0 to < 3.4.0 (affected · semver)3.4.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-697 Incorrect Comparison
References
2- GitHub Security Advisory (GHSA-39q2-94rc-95cp) https://github.com/cure53/DOMPurify/security/advisories/GHSA-39q2-94rc-95cp
- VulnCheck Advisory: DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS https://www.vulncheck.com/advisories/dompurify-before-add-tags-function-bypasses-forbid-tags
Provider assertions
2VulnCheck · cna
DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b1d78450e197781f4ec14a63b8b0c73227904e36ffc958996793b1c3a21a8681
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record