org.webjars.npm:prismjs@1.26.0 vulnerabilities

  • latest version

    1.29.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    2 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:prismjs package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    org.webjars.npm:prismjs is a lightweight, robust, elegant syntax highlighting library.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the command line plugin which does not properly escape its output, leading to the input text being inserted into the DOM as HTML code.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.webjars.npm:prismjs to version 1.27.0 or higher.

    [1.14.0,1.27.0)