Vulnerability record · CVE-2024-53382 · published 3 March 2025
CVE-2024-53382: Prismjs prism code injection vulnerability
PPrismjs · Prism
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 | ExploitPatchThird Party Advisory |
| https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259 | Product |
| https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 | ExploitPatchThird Party Advisory |
Track CVE-2024-53382 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-53382), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.