PT-2024-7008

CVE-2024-45801

·

Published

2024-05-08

·

Updated

2026-04-21

Description by

CVSS 4.0
8.3
High
MetricsAV: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.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-MMHX-HMJR-R674
RHSA-2024:10762
Found an issue in the description? Have something to add? Feel free to write us 👾