{"cve":"CVE-2024-53382","nvd":{"published":"2025-03-03T07:15:33.397","modified":"2026-06-17T08:08:51.140","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79","CWE-94"],"references":["https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660","https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259","https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660"],"products":["prismjs:prism"],"source":"nvd","synced_at":"2026-10-19T21:59:48.811064707+00:00"},"epss":{"cve":"CVE-2024-53382","score":0.00342,"percentile":0.27701,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x7hr-w5r2-h6wg","url":"https://osv.dev/vulnerability/GHSA-x7hr-w5r2-h6wg","summary":"PrismJS DOM Clobbering vulnerability","modified":"2026-09-10T03:50:23.418597462Z","packages":[{"ecosystem":"npm","name":"prismjs","purl":"pkg:npm/prismjs","ranges":["<1.30.0"],"fixed":["1.30.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}