cve.bz

CVE-2026-109345 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.16.

On this page
DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.

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; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-10-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-109345 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-109345?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-109345?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-109345 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 DOMPurifybefore 3.4.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6688-9rhm-gjv2npmdompurify<3.4.163.4.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-dompurifyno fix listedDEBIAN-CVE-2026-109345
Debian14node-dompurify3.4.16+dfsg-1DEBIAN-CVE-2026-109345
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 morenode-dompurifyno fix listedUBUNTU-CVE-2026-109345

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

A flaw of moderate impact was found in the DOMPurify HTML sanitization library, which is used by components in the Red Hat Hardened Images (Hummingbird) product. When DOMPurify operates in in-place mode, it force-removes a raw text element such as a style element but returns the node without neutralizing its text content. A remote attacker with no privileges can supply a crafted raw text element whose text content still carries markup, such as a closing style tag followed by an img onerror payload. If the application subsequently serializes and re-parses the returned node and a victim renders the result, the embedded script executes in the victim's browser session, allowing access to browser-session data and unauthorized actions on the victim's behalf. Red Hat Product Security rated this flaw Moderate with a CVSS 6.1 score, consistent with the upstream severity. Within Red Hat, this flaw was tracked only against Red Hat Hardened Images (Hummingbird) components that bundle the npm dompurify package; assessment was delegated to the responsible business unit, which determined those components are not affected because the vulnerable code is not present.

Red Hat's mitigation

This flaw only manifests when DOMPurify is used with the IN_PLACE option and the application subsequently serializes and re-parses the returned node. Applications can avoid the vulnerable path by not enabling the IN_PLACE option (using DOMPurify's default sanitization, which returns a newly sanitized node) and by not serializing and re-parsing the content of the returned node. As a permanent resolution, upgrade to dompurify 3.4.16 or later, which contains the fix for this issue.

ProductPackageStateAdvisory
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened Imagesgrafana13.2Not affected
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-109345.

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