{"id":"CVE-2024-53382","state":"PUBLISHED","title":"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.curr","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.","publishedAt":"2025-03-03T00:00:00.000Z","updatedAt":"2025-03-03T21:53:33.210Z","severity":{"score":4.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"mitre"},"assigner":"mitre","products":["PrismJS Prism"],"affected":[{"vendor":"PrismJS","product":"Prism","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.29.0","versionType":"semver"}]}],"references":["https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660","https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53382.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-53382","state":"PUBLISHED","datePublished":"2025-03-03T00:00:00.000Z","dateUpdated":"2025-03-03T21:53:33.210Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2024-11-20T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PrismJS","product":"Prism","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.29.0","versionType":"semver"}]}],"references":[{"url":"https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660"},{"url":"https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":4.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-03-03T06:36:55.825Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:prismjs:prism:*:*:*:*:*:*:*:*","versionEndIncluding":"1.29.0"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-03T21:52:57.337439Z","id":"CVE-2024-53382","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-03T21:53:33.210Z"}}]}}}