CVE-2024-53382

Updated on 03 Mar 2025

Severity

4.9 Medium severity

Details

CVSS score
4.9
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Overview

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

Details

Affected packages:
prismjs @ 1.27.0 (+3 more)

Fixes