CVE-2024-53382

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*

History

No history.

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
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')