Skip to main content
Public proof of conceptFix available

CVE-2026-49978

A public proof of concept exists; no exploitation attested.

  • Published2026-07-14
  • Fixed in3.4.7
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-07-1421:17CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-49978?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-49978?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Cure53 dompurify
BranchAffectedFixed in
3.4< 3.4.73.4.7

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2026-49978 Red Hat Product Security114 products fixed · 16 known affected

    dompurify: DOMPurify: Cross-site scripting vulnerability allows code execution

    grafana-infinity-datasource-npm as a component of Cryostat 4 · migration-toolkit-virtualization/mtv-console-plugin-rhel9 as a component of Migration Toolkit for Virtualization · workload-availability/node-healthcheck-must-gather-rhel9 as a component of Node HealthCheck Operator · +13 more

  • RHSA-2026:84734 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI

  • RHSA-2026:69296 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Data Grid 8.6.3 security update

  • RHSA-2026:68333 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat build of Cryostat security update

  • RHSA-2026:66545 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AMQ Broker 7.13.6 release and security update

  • RHSA-2026:66488 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AMQ Broker 7.14.1 release and security update

25 more advisories

Full record on NVD

Fix

  1. Update Cure53 dompurify to 3.4.7
  2. Vendor fix Red Hat Product Security RHSA-2026:84734 · 4 productsFor Red Hat OpenShift AI 3.4.5 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  3. Vendor fix Red Hat Product Security RHSA-2026:69296 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2026:68333 · 2 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  5. Vendor fix Red Hat Product Security RHSA-2026:66545 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings. The References section of this erratum contains a download link (you must log in to download the update).
  6. Vendor fix Red Hat Product Security RHSA-2026:65126 · 8 productsFor Red Hat OpenShift AI 2.25.11 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  7. Vendor fix Red Hat Product Security RHSA-2026:62260 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionpoc2026-07-21
  • OpenCVESSVC decisionpoc—
  • CNACVSS 4.06.3read 2026-10-23
  • NVDCVSS 3.16.1read 2026-10-23
  • CNAweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 4.0 vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-07-14
Last Modified
2026-07-21
NVD status
Analyzed

Frequently asked questions

What is CVE-2026-49978?

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.

Is CVE-2026-49978 actively exploited?

A proof-of-concept exploit exists for CVE-2026-49978, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-49978?

CVE-2026-49978 has a CVSS v3 base score of 6.1 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Running dompurify? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month