CVE-2024-53382

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.
Configurations

No configuration.

History

03 Mar 2025, 22:15

Type Values Removed Values Added
References () https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 - () https://gist.github.com/jackfromeast/aeb128e44f05f95828a1a824708df660 -
Summary
  • (es) Prism (también conocido como PrismJS) hasta la versión 1.29.0 permite el DOM Clobbering (con el consiguiente XSS para entradas no confiables que contienen HTML pero no contienen directamente JavaScript), porque la búsqueda de document.currentScript puede ser ocultada por elementos HTML inyectados por un atacante.

03 Mar 2025, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-03 07:15

Updated : 2025-03-03 22:15


NVD link : CVE-2024-53382

Mitre link : CVE-2024-53382

CVE.ORG link : CVE-2024-53382


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')