cve.bz

CVE-2026-116804 cure53 dompurify: Cross-site Scripting

5.1 mediumEPSS 0.2%Fix available

Medium (5.1) in cure53 dompurify. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in dompurify 3.4.17.

On this page
DOMPurify from 3.4.4 before 3.4.17 contains a SAFE_FOR_TEMPLATES bypass that lets attackers preserve template expressions in attached shadow roots when using RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE modes. Attackers can split expressions across text nodes separated by disallowed elements, which merge after removal and are evaluated by downstream template engines for cross-site scripting.

Severity

CVSS 4.0

5.1 medium
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

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-116804 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-116804?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-116804?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-116804 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cure53 DOMPurifyfrom 3.4.4 before 3.4.17

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cg2g-xh64-v4q7npmdompurify>=3.4.4 <3.4.173.4.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14node-dompurify3.4.17+dfsg-1DEBIAN-CVE-2026-116804
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 morenode-dompurifyno fix listedUBUNTU-CVE-2026-116804

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because successful exploitation requires non-default sanitization configurations, specifically pairing template safety features with DOM-returning output modes, alongside passing untrusted input directly into downstream template interpreters. In typical Red Hat product deployments, applications do not routinely process untrusted shadow DOM trees through template evaluators under this configuration. Consequently, the flaw presents limited exposure under standard operational settings.

ProductPackageStateAdvisory
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened Imagesgrafana13.2Affected
Red Hat Hardened ImagesruffNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-116804.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON