CVE-2024-53382: Code Injection

Published Mar 3, 2025
·
Updated

Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.

Affected Software

4 affected componentsFixes available
Prism PrismJS<1.29.0
PrismJS Prism Node.js<=1.29.0
npm/prismjs<1.30.0
1.30.0
IBM Concert Software<=1.0.0-1.1.0

Event History

Mar 3, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:30 AM
Data Sourced
via GitHub·09:30 AM
DescriptionSeverityWeaknessAffected Software
Aug 18, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected 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 CVE-2024-53382?

CVE-2024-53382 has a high severity rating due to its potential for causing DOM Clobbering and XSS vulnerabilities.

2

How do I fix CVE-2024-53382?

To fix CVE-2024-53382, update PrismJS to version 1.29.1 or later, which addresses the vulnerability.

3

What types of attacks are possible with CVE-2024-53382?

CVE-2024-53382 can be exploited to perform attackers' XSS attacks through untrusted input containing injected HTML.

4

Which versions of PrismJS are affected by CVE-2024-53382?

CVE-2024-53382 affects all versions of PrismJS up to and including 1.29.0.

5

What is DOM Clobbering in relation to CVE-2024-53382?

DOM Clobbering in CVE-2024-53382 refers to the manipulation of the document structure leading to unintended behavior and potential security risks.

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
CVE-2024-53382 - Code Injection - SecAlerts