GHSA-x7hr-w5r2-h6wgMediumCVSS 4.9

PrismJS DOM Clobbering vulnerability

Published
March 3, 2025
Last Modified
June 30, 2025

🔗 CVE IDs covered (1)

📋 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 products1

  • npm/prismjs:< 1.30.0

🔗 References (6)