{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53382","id":"CVE-2024-53382","title":"PrismJS DOM Clobbering vulnerability","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.","descriptionLong":"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.","published":"2025-03-03T00:00:00.000Z","updated":"2026-10-28T02:31:00.098478568Z","reserved":"2024-11-20T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre.org"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["PrismJS Prism"],"affectedProducts":[{"vendor":"PrismJS","product":"Prism","defaultStatus":"unknown","versions":[{"lessThanOrEqual":"1.29.0","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"prismjs","purl":"pkg:npm/prismjs","ranges":["<1.30.0"],"fixed":["1.30.0"],"advisory":"GHSA-x7hr-w5r2-h6wg"}],"cwes":["CWE-94","CWE-79"],"aliases":["GHSA-x7hr-w5r2-h6wg"],"references":[{"url":"https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660","tags":["exploit","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259","tags":["Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53382.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53382","tags":["advisory"]},{"url":"https://github.com/PrismJS/prism/pull/3863","tags":["web"]},{"url":"https://github.com/PrismJS/prism/commit/8e8b9352dac64457194dd9e51096b4772532e53d","tags":["web"]},{"url":"https://github.com/PrismJS/prism","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00342,"epssPercentile":0.28252,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53382","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53382","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53382","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x7hr-w5r2-h6wg","ok":true,"note":"GHSA-x7hr-w5r2-h6wg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53382","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}