REDHAT-BUG-2312631: XSS

Published Sep 16, 2024
·
Updated

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.

Affected Software

1 affected component
DOMPurify DOMPurify<2.5.4, >3.1.3

Event History

Sep 16, 2024
Data Sourced
via Red Hat·07:20 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2312631?

The severity of REDHAT-BUG-2312631 is critical due to the potential for XSS attacks.

2

How do I fix REDHAT-BUG-2312631?

To fix REDHAT-BUG-2312631, update DOMPurify to a version between 2.5.4 and 3.1.3, or upgrade to a version above 3.1.3.

3

What types of attacks are associated with REDHAT-BUG-2312631?

REDHAT-BUG-2312631 is associated with XSS vulnerabilities and prototype pollution attacks.

4

Which versions of DOMPurify are affected by REDHAT-BUG-2312631?

Versions of DOMPurify that are affected by REDHAT-BUG-2312631 are those prior to 2.5.4 and versions 3.1.3 and above.

5

What is DOMPurify and its relevance to REDHAT-BUG-2312631?

DOMPurify is a XSS sanitizer for HTML and its recent vulnerabilities, as identified in REDHAT-BUG-2312631, allow for certain attacks to bypass its protections.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
REDHAT-BUG-2312631 - XSS - SecAlerts