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?
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
