GHSA-x7hr-w5r2-h6wg

ghsaUSosv

PrismJS DOM Clobbering vulnerability

view advisory published 2025-03-03Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2024-53382USmedium5.4—
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.curr…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan