highlight.js vulnerabilities

Syntax highlighting with language autodetection.

Registry
npm
Latest
11.12.0
License
BSD-3-Clause

2 known advisories

The latest version, 11.12.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install highlight.js@11.12.0

Security advisories for highlight.js

  • MediumGHSA-7wwv-vh3v-89cq4 Dec 2020

    ReDOS vulnerabities: multiple grammars

    Affected
    >=9.0.0 <10.4.1
    Fixed in
    10.4.1
  • MediumGHSA-vfrc-7r7c-w9mx24 Nov 2020

    Prototype Pollution in highlight.js

    Affected
    <9.18.2 · >=10.0.0 <10.1.2
    Fixed in
    9.18.2, 10.1.2

Which of your client projects still run an old highlight.js?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.