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

Wed, 12 Mar 2025 03:45:00 +0000

Type Values Removed Values Added
Title prismjs: DOM Clobbering vulnerability within the Prism library's prism-autoloader plugin
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 04 Mar 2025 03:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Mar 2025 06:45:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-03-03T00:00:00.000Z

Updated: 2025-03-03T21:53:33.210Z

Reserved: 2024-11-20T00:00:00.000Z

Link: CVE-2024-53382

cve-icon Vulnrichment

Updated: 2025-03-03T21:53:13.145Z

cve-icon NVD

Status : Received

Published: 2025-03-03T07:15:33.397

Modified: 2025-03-03T22:15:35.637

Link: CVE-2024-53382

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-03-03T00:00:00Z

Links: CVE-2024-53382 - Bugzilla