CVE-2024-53382: Code Injection
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
Remediation
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.