CVE-2024-48910: DOMPurify vulnerable to tampering by prototype polution

Published Oct 31, 2024
·
Updated

DOMPurify could allow a remote authenticated attacker to execute arbitrary code on the system, caused by a prototype pollution. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.

Other sources

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.

NVD

dompurify was vulnerable to prototype pollution

Fixed by https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc

GitHub

Affected Software

3 affected componentsFixes available
npm/dompurify<2.4.2
2.4.2
Cure53 DOMPurify<2.4.2
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.3.0, 5.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/dompurify to a version that resolves this vulnerability.

    Fixed in 2.4.2
  2. Upgrade

    Upgrade DOMPurify to a version that resolves this vulnerability.

    Fixed in 2.4.2Patch d1dd0374caef2b4c56c3bd09fe1988c3479166dc

Event History

Oct 31, 2024
CVE Published
via MITRE·02:22 PM
Data Sourced
via MITRE·02:22 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·02:23 PM
Data Sourced
via Red Hat·03:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyAffected Software
Apr 27, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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 CVE-2024-48910?

CVE-2024-48910 is a high severity vulnerability that allows a remote authenticated attacker to execute arbitrary code due to prototype pollution.

2

How do I fix CVE-2024-48910?

To fix CVE-2024-48910, upgrade DOMPurify to version 2.4.2 or later.

3

Who is affected by CVE-2024-48910?

CVE-2024-48910 affects applications that use the DOMPurify package versions prior to 2.4.2.

4

What type of vulnerability is CVE-2024-48910?

CVE-2024-48910 is a prototype pollution vulnerability that can lead to remote code execution.

5

Can CVE-2024-48910 be exploited remotely?

Yes, CVE-2024-48910 can be exploited remotely by an authenticated attacker.

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