← Database

CVE-2024-53382

MEDIUM CVSS: 4.9 Published: 2025-03-03 Modified: 2026-06-17

Description

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.

Affected Platforms

Prismjs Prism

Weakness Type

CWE-94, CWE-79

References