CVE-2024-53382
Medium
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.
SeverityMedium
CVSS4.9
Exploit probability—
Product
Prism
PublishedMar 3, 2025
First seenMar 3, 2025
Weakness typeCWE-94Code injection
How to fix
Update
- prismjs1.30.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| prismjs prism | v ≤ 1.29.0 | — |
| prismjsnpm | v < 1.30.0 | 1.30.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.