Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2024-47875: Nesting-based mutation XSS in DOMPurify

Published Oct 11, 2024 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS6.1Medium · v3.1
EPSS1.4%74th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Cure53
IdentifiersCVE-2024-47875CWE-79 · Improper Neutralization of Input…

CVE-2024-47875 is a nesting-based mutation cross-site scripting (mXSS) vulnerability in DOMPurify, a DOM-based sanitizer for HTML, MathML, and SVG. Specially crafted nested markup can bypass sanitization through DOM mutation, allowing attacker-controlled script to execute when the resulting markup is rendered by an application. The vulnerability affects applications incorporating vulnerable DOMPurify releases, including multiple third-party products. Fixes are available in DOMPurify 2.5.0 and 3.1.3.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can execute attacker-controlled JavaScript in the security context of an affected application, compromising information accessible to that context, modifying displayed content, or performing application actions with the affected user's authority. Actual consequences depend on how the application processes and renders untrusted markup and on the privileges available in the affected browser context. This vulnerability does not by itself establish server-side code execution.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific workaround is established. For affected Siemens COMOS deployments, restrict network access using appropriate access controls and follow Siemens industrial-security and product configuration guidance. These measures reduce exposure but do not correct the sanitizer bypass; applying a patched library or product release remains necessary.

Remediation

Patch, then assume compromise.

Upgrade DOMPurify to version 2.5.0 or later on the 2.x branch, or 3.1.3 or later on the 3.x branch. For bundled copies, install the relevant product update rather than assuming a separately installed library update replaces the embedded dependency. Confirmed fixes include Siemens COMOS V10.4.5 or V10.5.2 for the respective affected COMOS Web release lines; OX App Suite frontend 7.10.6-rev50; OpenShift Container Platform 4.14.41, 4.15.38, 4.16.20, and 4.17.4; and OpenShift Dev Spaces 3.17. Red Hat Grafana fixes include 9.2.10-20.el8_10, 9.2.10-19.el9_4, and 10.2.6-7.el9_5 for their applicable channels. When backporting or cherry-picking the DOMPurify fix, also account for the related CVE-2024-45801 advisory.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Cure53Dompurifyapplication
FAQ

Frequently asked questions

Is CVE-2024-47875 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2024-47875 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-47875?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-47875, the earliest disclosed Sep 2, 2025.
Is there a patch for CVE-2024-47875?
Upgrade DOMPurify to version 2.5.0 or later on the 2.x branch, or 3.1.3 or later on the 3.x branch. For bundled copies, install the relevant product update rather than assuming a separately installed library update replaces the embedded dependency.
What products are affected by CVE-2024-47875?
Cure53 Dompurify.
How severe is CVE-2024-47875?
CVE-2024-47875 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 1.4% (74th percentile) as of Nov 19, 2026.
Activity feed

Recent activity

21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+7 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.