Skip to main content
VulnerabilityPublished Updated

CVE-2024-47875: cure53 DOMPurify · Cross-site Scripting

Affects cure53 DOMPurifySource CVE Database V5

0

Not known to be exploited · CVSS 10.0 Critical : upgrade to 3.1.3 or 2.5.0 as a priority.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.3, 2.5.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade cure53 DOMPurify to 3.1.3 or 2.5.0.

Affected software

ProductAffectedFixed in
npmdompurifypkg:npm/dompurifyOther threatsAffected
  • <2.5.0
  • <3.1.3
Fixed in
  • 2.5.0
  • 3.1.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately audit their web applications and libraries to identify usage of DOMPurify versions prior to 2.5.0 or 3.1.3. The primary mitigation is to upgrade DOMPurify to version 2.5.0 or later, or 3.1.3 or later, where the vulnerability is fixed. Implement Content Security Policy (CSP) headers with strict script-src directives to limit script execution sources and reduce impact of potential XSS. Employ runtime application self-protection (RASP) tools that can detect and block XSS payloads dynamically. Conduct thorough penetration testing focusing on nested input scenarios to validate remediation. Educate development teams about secure coding practices related to input sanitization and nested content handling. Monitor web application logs and security alerts for suspicious activity indicative of attempted exploitation. Finally, maintain an incident response plan tailored to XSS incidents to enable rapid containment and recovery.

Description

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

References

Community reviews

Loading reviews…