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.

Open
LOW (1.4)
  • T

    Tim Bastin detected CVE-2024-53382 with scanner: container-scanning

  • logo

    System updated the risk assessment from 1.12 to 2.25

    System recalculated raw risk assessment

  • logo

    System updated the risk assessment from 2.25 to 1.12

    System recalculated raw risk assessment

  • S

    Sebastian Kawelke updated the risk assessment from 1.12 to 1.42

    Confidentiality Requirement updated: medium -> high, Integrity Requirement updated: medium -> high, Availability Requirement updated: medium -> high

Add a comment

Mark as False Positive
Last calculated at:

Affected component

Logo von npm prismjs

Installed version:
1.27.0
Fixed in:
1.30.0

Quick Fix

Update all Dependencies
Update only prismjs

Management decisions across the organization

Copyright © 2025 L3montree GmbH and the DevGuard Contributors. All rights reserved. Version 71cda54d19c6900d5d185b8bc7c11608a8a65bac