CVE-2024-45801
Last modified
CVE-2024-45801 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. EPSS estimates a 0.84% chance of exploitation in the next 30 days.
Description
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | < 2.5.4 |
| Cure53 | Dompurify | >= 3.0.0, < 3.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-45801?
How severe is CVE-2024-45801?
How do I fix CVE-2024-45801?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-45796Suricata is a network Intrusion Detection System, Intrusion …5.3
- CVE-2024-45797LibHTP is a security-aware parser for the HTTP protocol and …7.5
- CVE-2024-45798arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ES…9.9
- CVE-2024-45799FluxCP is a web-based Control Panel for rAthena servers writ…6.1
- CVE-2024-4580The Master Addons – Free Widgets, Hover Effects, Toggle, Con…5.4
- CVE-2024-45800Snappymail is an open source web-based email client. SnappyM…5
- CVE-2024-45802Squid is an open source caching proxy for the Web supporting…7.5
- CVE-2024-45803Wire UI is a library of components and resources to empower …6.1
- CVE-2024-45804Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2024-45805OpenCTI is an open-source cyber threat intelligence platform…4.3
- CVE-2024-45806Envoy is a cloud-native high-performance edge/middle/service…6.5
- CVE-2024-45807Envoy is a cloud-native high-performance edge/middle/service…7.5
Are you affected by CVE-2024-45801?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
