CVE-2024-53382 Affecting node-prismjs package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-NODEPRISMJS-9058118
  • published5 Mar 2025
  • disclosed3 Mar 2025

Introduced: 3 Mar 2025

NewCVE-2024-53382  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 node-prismjs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-prismjs package and not the node-prismjs package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.