prismjs is a lightweight, robust, elegant syntax highlighting library.
Affected versions of this package are vulnerable to Arbitrary Code Injection via the document.currentScript
lookup process. An attacker can manipulate the web page content and execute unintended actions by injecting HTML elements that overshadow legitimate DOM elements.
Note:
This is only exploitable if the application accepts untrusted input containing HTML but not direct JavaScript.
Upgrade prismjs
to version 1.30.0 or higher.