Vulnerability

CVE-2024-53382

mediumCVSS 3.1 5.4Published 3 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Prismjs prism

Weakness type

References

  • gist.github.com /jackfromeast/aeb128e44f05f95828a1a824708df660
  • github.com /PrismJS/prism/blob/59e5a3471377057de1f401ba38337aca27b80e0…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning