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.
References
Link | Resource |
---|---|
https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 | Exploit Third Party Advisory Patch |
https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259 | Product |
https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 | Exploit Third Party Advisory Patch |
Configurations
History
27 Jun 2025, 13:08
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:* | |
CWE | CWE-79 | |
First Time |
Prismjs
Prismjs prism |
|
References | () https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 - Exploit, Third Party Advisory, Patch | |
References | () https://github.com/PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e03/prism.js#L226-L259 - Product |
03 Mar 2025, 22:15
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
|
References | () https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 - |
03 Mar 2025, 07:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-03-03 07:15
Updated : 2025-06-27 13:08
NVD link : CVE-2024-53382
Mitre link : CVE-2024-53382
CVE.ORG link : CVE-2024-53382
JSON object : View
Products Affected
prismjs
- prism