cve.bz

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

6.3 mediumExploit referenceEPSS 0.4%Fix available

Medium (6.3) in cure53 dompurify. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in dompurify 3.4.7.

On this page
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.

Severity

CVSS 4.0

6.3 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/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.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th 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-07-21. 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
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-49978 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-49978?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-49978?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-49978 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 NVD's CPE matches.

ProductAffected
cure53:dompurifybefore 3.4.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rp9w-3fw7-7cwqnpmdompurify<3.4.73.4.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-dompurifyno fix listedDEBIAN-CVE-2026-49978
Debian14node-dompurify3.4.12+dfsg-1DEBIAN-CVE-2026-49978
Ubuntu16.04:LTS, 18.04:LTSdompurify.jsno fix listedUBUNTU-CVE-2026-49978
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 morenode-dompurifyno fix listedUBUNTU-CVE-2026-49978
Red Hatenterprise_linux:10.2rh-podman-desktop0:1.1.2-1.el10_2RHSA-2026:57590
openSUSETumbleweedargocd-cli3.6.1-1.1openSUSE-SU-2026:12452-1

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

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in DOMPurify is rated as Important as it allows for cross-site scripting (XSS) attacks. When DOMPurify performs in-place sanitization, it may fail to properly process shadow DOM content within `<template>.content`, enabling an attacker to embed and execute malicious JavaScript. This could lead to unauthorized actions or information disclosure in Red Hat products that utilize DOMPurify for sanitizing untrusted HTML, MathML, or SVG.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-openshift-console-plugin-rhel9:4.2.0-14Fixed 2026-09-16RHSA-2026:68333
Red Hat AMQ Broker 7.13.6dompurifyFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1dompurifyFixed 2026-09-10RHSA-2026:66488
Red Hat build of Apicurio Registry 3.3.1apicurio/apicurio-registry-ui-rhel8Fixed 2026-08-25RHSA-2026:59360
Red Hat build of Apicurio Registry 3.3.1apicurio/apicurio-registry-ui-rhel9Fixed 2026-08-25RHSA-2026:59360
Red Hat Data Grid 8.6.3dompurifyFixed 2026-09-21RHSA-2026:69296
Red Hat Enterprise Linux 10rh-podman-desktop-0:1.1.2-1.el10_2Fixed 2026-08-20RHSA-2026:57590
Streams for Apache Kafka 3.2.1dompurifyFixed 2026-08-12RHSA-2026:54435
Red Hat Advanced Cluster Security 4.9advanced-cluster-security/rhacs-main-rhel8:1785413210Fixed 2026-07-30RHSA-2026:48872
Red Hat Advanced Cluster Security for Kubernetes 4.10advanced-cluster-security/rhacs-main-rhel8:1785420959Fixed 2026-07-30RHSA-2026:48913
Cryostat 4dompurifyNot affected
Cryostat 4grafana-infinity-datasource-npmAffected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-console-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Not affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-pf5-rhel9Not affected
67 more in the JSON and on Red Hat's page.

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-49978.

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