Is highlight.js 8.2 vulnerable?
npm · 1 release from 8.2.0 to 8.2.0 · latest highlight.js is 11.12.0 · checked 2 Nov 2026
Yes: 1 known advisory
Yes. highlight.js 8.2.0, the last 8.2 release, is affected by 1 known security advisory (1 medium), including CVE-2020-26237. Upgrade to 9.18.2 or later to fix all of them.
Upgrade with:
npm install highlight.js@9.18.2Advisories affecting highlight.js 8.2.0
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 8.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.