PT-2024-7008 · Dompurify+1 · Dompurify+1
Eslerm
·
Published
2024-05-08
·
Updated
2026-04-21
·
CVE-2024-45801
CVSS v4.0
8.3
High
| Vector | AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
DOMPurify versions prior to 2.5.4
DOMPurify versions prior to 3.1.3
Description
The issue is related to the DOMPurify library, which 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. Additionally, it was possible to use Prototype Pollution to weaken the depth check, rendering DOMPurify unable to avoid cross-site scripting (XSS) attacks.
Recommendations
For DOMPurify versions prior to 2.5.4, upgrade to version 2.5.4 or later.
For DOMPurify versions prior to 3.1.3, upgrade to version 3.1.3 or later.
As a temporary workaround, consider restricting the use of the DOMPurify library until a patch is available.
Exploit
Fix
DoS
Prototype Pollution
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Confluence
Dompurify