CRITICAL🇵🇱 Wersja polska

CVE-2024-48910

CVSS 9.1v3.1pub. 2024-10-31upd. 2025-11-03

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.

🤖 AI Analysis
How it works

Prototype pollution consists of the ability to modify the base prototype of a JavaScript object (Object.prototype) through unauthorized input data. In the case of DOMPurify, an attacker could provide a crafted payload that during the sanitization process caused prototype contamination. This resulted in the possibility of influencing the behavior of all objects in the application using the library, which could ultimately lead to bypassing XSS protection mechanisms.

Impact

An attacker can modify the properties of global JavaScript objects in the application, which leads to violation of data integrity and confidentiality — including potential execution of malicious scripts (XSS) in the context of the victim's browser.

Mitigation & patch

DOMPurify should be updated to version 2.4.2 or newer, in which the vulnerability has been fixed. A patch is available in the project repository on GitHub.

Who is affected

Cure53 DOMPurify library in versions prior to 2.4.2

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Cure53 Dompurify

    APP
    Cure53
    < 2.4.2
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
XSS
CWE
References

Related vulnerabilities

CVE-2024-47875CRITICAL10.0PL ✓same product

DOMPurify — podatność mXSS oparta na zagnieżdżaniu znaczników

CVE-2026-47423HIGH8.2PL ✓same product

XSS w DOMPurify — bypass sanityzacji przez element <selectedcontent>

CVE-2024-45801HIGH7.3same product

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discove...

CVE-2026-66010MEDIUM5.1same product

DOMPurify przed wersją 3.4.12 nie wykonuje hook'a afterSanitizeElements dla custom elements dozwolonych przez ...

CVE-2026-65898MEDIUM5.1same product

DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitiz...