Is highlight.js 9.2 vulnerable?
npm · 1 release from 9.2.0 to 9.2.0 · latest highlight.js is 11.12.0 · checked 2 Nov 2026
Yes: 2 known advisories
Yes. highlight.js 9.2.0, the last 9.2 release, is affected by 2 known security advisories (2 medium), including CVE-2020-26237. Upgrade to 10.4.1 or later to fix all of them.
Upgrade with:
npm install highlight.js@10.4.1Advisories affecting highlight.js 9.2.0
ReDOS vulnerabities: multiple grammars
- Affected
- >=9.0.0 <10.4.1
- Fixed in
- 10.4.1
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 are still on highlight.js 9.2?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact highlight.js version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other highlight.js versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.