Is highlight.js 10.3 vulnerable?
npm · 3 releases from 10.3.0 to 10.3.2 · latest highlight.js is 11.12.0 · checked 2 Nov 2026
Yes: 1 known advisory
Yes. highlight.js 10.3.2, the last 10.3 release, is affected by 1 known security advisory (1 medium). Upgrade to 10.4.1 or later to fix all of them.
Upgrade with:
npm install highlight.js@10.4.1Advisories affecting highlight.js 10.3.2
ReDOS vulnerabities: multiple grammars
- Affected
- >=9.0.0 <10.4.1
- Fixed in
- 10.4.1
Which of your client projects are still on highlight.js 10.3?
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.