CVE-2024-53382

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductPrism
PublishedMar 3, 2025
First seenMar 3, 2025

How to fix

Update
  • prismjs1.30.0 or later

Affected products

ProductAffected versionsFixed in
prismjs prismv ≤ 1.29.0—
prismjsnpmv < 1.30.01.30.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.