Skip to main content
Public proof of conceptFix available

CVE-2024-53382

A public proof of concept exists; no exploitation attested.

  • Published2025-03-03
  • Fixed in1.30.0
  • WeaknessCWE-79 · CWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-03-0307:15CVE publishedNVD

Versions per branch

OSV · NVD
prismjs
BranchAffectedFixed in
1.30< 1.30.01.30.0
Prismjs prism
BranchAffectedFixed in
1.29≤ 1.29.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • PrismJS Prismother versions: unknown
    Affected
    • ≤ 1.29.0no fix statedsemver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-03-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/prismjsRoot:npmall versions · fixed in 1.27.0-root.io.2
  • @rootio/prismjsRoot:npmall versions · fixed in 1.27.0-root.io.1
  • jitsucom-jitsuCleanStartall versions · fixed in 2.10.0-r0
  • kibana-7MinimOSall versions · no fixed version listedand 22 other packages
  • kibana-8.19Chainguardall versions · fixed in 8.19.3-r1and 2 other packages
  • kibana-9.4Chainguardall versions · fixed in 9.4.2-r1and 1 other package
  • node-prismjsUbuntu:26.10all versions · no fixed version listed
  • node-prismjsUbuntu:26.04:LTSall versions · no fixed version listed

16 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-53382 Red Hat Product Security26 products fixed · 46 known affected

    prismjs: DOM Clobbering vulnerability within the Prism library's prism-autoloader plugin

    migration-toolkit-virtualization/mtv-console-plugin-rhel9 as a component of Migration Toolkit for Virtualization · openshift-pipelines/pipelines-hub-api-rhel8 as a component of OpenShift Pipelines · openshift-pipelines/pipelines-hub-db-migration-rhel8 as a component of OpenShift Pipelines · +43 more

  • RHSA-2026:3751 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.9.0 release.

  • RHSA-2025:11889 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: 7.1 container image is now available in the Red Hat Ecosystem Catalog.

  • RHSA-2025:11749 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Updated 8.1 container image is now available: security and bug fix update

Full record on NVD

Fix

  1. Update prismjs to 1.30.0
  2. Vendor fix Red Hat Product Security RHSA-2026:3751 · 1 productFor more about Red Hat Developer Hub, see References links
  3. Vendor fix Red Hat Product Security RHSA-2025:11889 · 21 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/2789521 For supported configurations, refer to: https://access.redhat.com/articles/1548993
  4. No fix available, says the vendor Red Hat Product Security CVE-2024-53382 · 45 productsFix deferred
  5. No fix planned, says the vendor Red Hat Product Security CVE-2024-53382 · 1 productWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-03-03
  • CNACVSS 3.14.9known since 2026-10-23
  • NVDCVSS 3.15.4read 2026-10-23
  • CNAweakness (CWE)CWE-94known since 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2025-03-03

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published
2025-03-03
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-x7hr-w5r2-h6wg

Frequently asked questions

What is CVE-2024-53382?

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.

Is CVE-2024-53382 actively exploited?

A proof-of-concept exploit exists for CVE-2024-53382, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-53382?

CVE-2024-53382 has a CVSS v3 base score of 5.4 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Running prismjs? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record