NetSight
medium4.9

CVE-2024-53382

PrismJS DOM Clobbering vulnerability

Impact

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 packages

EcosystemPackageAffectedFixed in
npmprismjs< 1.30.01.30.0

Affected products

VendorProductAffected versions
PrismjsPrism
through 1.29.0

Weakness classification

References