CVE-2024-53382

MEDIUM CVSS 3.1: 5.4 EPSS 0.34%
Updated Jun 27, 2025
Prismjs
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 1.29.0
Type CWE-79 (Cross-Site Scripting (XSS)), CWE-94 (Code Injection)
Vendor Prismjs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Prismjs Prism
cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*
— <= 1.29.0