What’s Vulnerable › Vulnerabilities
CVE-2024-53382
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-03 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- PrismJS prism: through 1.29.0
References
- https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660
- https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259
- https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660
Get alerted when CVE-2024-53382 or the next vulnerability affects your stack