CWE
79
Advisory Published
Advisory Published
Updated

CVE-2024-47875: DOMPurify nesting-based mXSS

First published: Fri Oct 11 2024(Updated: )

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
npm/dompurify>=3.0.0<3.1.3
3.1.3
npm/dompurify<2.5.0
2.5.0
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query with Cloud Pak for Data as a Service<=2.2
IBM Watson Query with Cloud Pak for Data as a Service<=2.1
IBM Watson Query with Cloud Pak for Data as a Service<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-47875?

    The severity of CVE-2024-47875 is classified as high due to its potential for cross-site scripting attacks.

  • How do I fix CVE-2024-47875?

    To fix CVE-2024-47875, update DOMPurify to version 2.5.0 or 3.1.3 or later.

  • What type of vulnerability is CVE-2024-47875?

    CVE-2024-47875 is a nesting-based mXSS vulnerability affecting the DOMPurify library.

  • What versions of DOMPurify are affected by CVE-2024-47875?

    CVE-2024-47875 affects DOMPurify versions between 3.0.0 and 3.1.2, as well as versions below 2.5.0.

  • Is CVE-2024-47875 a critical vulnerability?

    Yes, CVE-2024-47875 is considered a critical vulnerability due to the risk of executing malicious scripts.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203