Is highlight.js 10.4 vulnerable?
npm · 2 releases from 10.4.0 to 10.4.1 · latest highlight.js is 11.12.0 · checked 2 Nov 2026
No known advisories in the last release
highlight.js 10.4.1, the last 10.4 release, has no known advisories. 1 advisory affects earlier 10.4.x releases, so update to 10.4.1.
Update within 10.4:
npm install highlight.js@10.4.1Fixed within 10.4.x, affecting earlier releases
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.4?
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.