CVE-2024-53382
PrismJS DOM Clobbering vulnerability
4.9
MEDIUM
CVSS 3.1
EPSS 0.16%
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.
How to fix CVE-2024-53382
To remediate CVE-2024-53382, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 1.30.0 or later
Is CVE-2024-53382 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 1.30.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |