CVE-2024-53382 json
PrismJS DOM Clobbering vulnerability
published 2025-03-03 20 mo ago modified 2026-09-10 1 mo ago also GHSA-x7hr-w5r2-h6wg , EUVD-2024-53973
- cvss
- 4.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm prismjs 1.30.0
- node-prismjs Debian 14 1.30.0+dfsg+~1.26.5-1
debian advisories DEBIAN-CVE-2024-53382
- github.com/PrismJS/prism@8e8b935 commit
- github.com/PrismJS/prism#3863 pull request
- gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-53382 updated cvss 4.9
prismjs: DOM Clobbering vulnerability within the Prism library's prism-autoloader plugin
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8 Red Hat OpenShift Serverless openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-v4-rhel8, advanced-cluster-security/rhacs-scanner-v4-db-rhel8 Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registryaffected: no fix available “Fix deferred”
-
Red Hat Ceph Storage 6 rhceph/rhceph-6-dashboard-rhel9affected: no fix planned “Will not fix”
-
Red Hat Data Grid 8 org.infinispan-infinispan-console Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafana Red Hat Enterprise Linux AI (RHEL AI) ui-rhel9 Red Hat Fuse 7 io.syndesis-syndesis-parentaffected: no fix available “Fix deferred”
+5 more productsfewer
Red Hat Integration Camel K 1 io.apicurio-apicurio-registry Red Hat OpenShift AI (RHOAI) odh-data-science-pipelines-argo-argoexec-rhel8, odh-data-science-pipelines-argo-workflowcontroller-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-argocd-rhel9-container, openshift-gitops-1/gitops-operator-bundle Red Hat Storage 3 grafana Red Hat Trusted Artifact Signer rekor-search-ui-rhel9 -
Red Hat Ceph Storage 7.1 Tools rhceph/rhceph-7-rhel9 7-532, rhceph/grafana-rhel9 11.6.2-7, rhceph/grafana-rhel10 11.6.2-7, rhceph/keepalived-rhel9 2.2.8-74, rhceph/snmp-notifier-rhel9 1.2.1-124, rhceph/rhceph-haproxy-rhel9 2.4.22-76, +1 morefixed: vendor fix RHSA-2025:11889
-
Red Hat Ceph Storage 8.1 Tools rhceph/grafana-rhel9 11.6.2-4fixed: vendor fix RHSA-2025:11749
-
Red Hat Developer Hub 1.9 rhdh 1772573159fixed: vendor fix RHSA-2026:3751
-
Red Hat Ceph Storage 8.1 Tools rhceph/rhceph-8-rhel9 8-511, rhceph/keepalived-rhel9 2.2.8-73, rhceph/oauth2-proxy-rhel9 v7.6.0-33, rhceph/snmp-notifier-rhel9 1.2.1-123, rhceph/rhceph-haproxy-rhel9 2.4.22-75, rhceph/rhceph-promtail-rhel9 v3.0.0-40 Red Hat Developer Hub 1.9 rhdh 1772575881, rhdh 1772578053not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | prismjs | <1.30.0 |
1.30.0 |
Affected products
- PrismJS Prism
Classification
References
-
gist.github.com
/jackfromeast/aeb128e44f05f95828a1a824708df660
exploit, web, patch, third-party-advisory
-
github.com
/PrismJS/prism/pull/3863
web
-
github.com
/PrismJS/prism/commit/8e8b9352dac64457194dd9e51096b4772532e53d
web
-
github.com
/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-53382
advisory
-
github.com
/PrismJS/prism
package
Sources
- CVE List CVE-2024-53382
- GitHub Advisory GHSA-x7hr-w5r2-h6wg
- NVD CVE-2024-53382
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.