CVE-2024-53382
PrismJS DOM Clobbering vulnerability
Reported by mitre · Published March 3, 2025
prismjs is fixed in 1.30.0 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| prismjs | npm | 1.30.0 |
| kibana-8.19 | Chainguard | 8.19.3-r1 |
| opensearch-dashboards-2-fips | Chainguard | 2.19.2-r4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PrismJS | Prism | 0 |
| chainguard | kibana-8.19 | 0 |
| chainguard | opensearch-dashboards-2-fips | 0 |
| prismjs | prism | 0 |
| chainguard | kibana-9.4 | 0 |
| PrismJS | Prism | 0 |
| PrismJS | Prism | |
| wolfi | opensearch-dashboards-2 | 0 |
| npm | prismjs | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
Timeline
- Mar 3, 2025 CVE Published
- Mar 3, 2025 Coalition ESS Score (13 in total, the first dated here)
- Mar 4, 2025 EPSS Score (30 in total, the first dated here)
- Oct 14, 2025 GitHub Gist PoC
- Mar 9, 2026 Security Advisory (5 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53382
vulnetix vdb fixes CVE-2024-53382
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53382/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart