Vulnerabilities

1 via 1 paths

Dependencies

202

Source

GitHub

Commit

release

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

low severity

Arbitrary Code Injection

  • Vulnerable module: prismjs
  • Introduced through: prismjs@1.27.0

Detailed paths

  • Introduced through: fepper@electric-eloquence/fepper-npm#release prismjs@1.27.0
    Remediation: Upgrade to prismjs@1.30.0.

Overview

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.

Remediation

Upgrade prismjs to version 1.30.0 or higher.

References