CVE-2024-53382: Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains
CVE-2024-53382 is a medium-severity flaw (CVSS 4.9) affecting prism. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-53382?
prism: upgrade to newer than 1.29.0. Exact commands for each OS are on this page.
Is CVE-2024-53382 being exploited?
CVE-2024-53382 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-53382 affect?
CVE-2024-53382 affects prism. Severity is medium (CVSS 4.9). 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 e
How urgent is CVE-2024-53382?
Priority 29/100. Public exploit reference