PrismJS DOM Clobbering vulnerability
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-53382US | medium5.4 | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660WEB
- https://github.com/PrismJS/prismPACKAGE
- https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259WEB
- https://github.com/PrismJS/prism/commit/8e8b9352dac64457194dd9e51096b4772532e53dWEB
- https://github.com/PrismJS/prism/pull/3863WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-53382ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan