VDB

CVE-2024-53382

CVE-2024-53382 PUBLISHED CVSS 4.9 MEDIUM

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.

PackageEcosystemFixed in
prismjsnpm1.30.0
kibana-8.19Chainguard8.19.3-r1
opensearch-dashboards-2-fipsChainguard2.19.2-r4

Risk scores

CVSS 3.1
4.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
PrismJSPrism0
chainguardkibana-8.190
chainguardopensearch-dashboards-2-fips0
prismjsprism0
chainguardkibana-9.40
PrismJSPrism0
PrismJSPrism
wolfiopensearch-dashboards-20
npmprismjs0
chainguardopensearch-dashboards-20

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›