---
title: "highlight.js security advisories"
description: "2 known security advisories for highlight.js, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/highlight.js/security
lang: en
---

[Packages](https://inlinr.com/packages)

# highlight.js

11.12.0 · 12 Aug 2026 BSD-3-Clause 56.9M / week [Repository](https://github.com/highlightjs/highlight.js) [Homepage](https://highlightjs.org/) [npm](https://www.npmjs.com/package/highlight.js) [Atom feed](https://inlinr.com/packages/feed/highlight.js)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest  | Where it stands                                                               |
| ---- | ------- | ----------------------------------------------------------------------------- |
|      | 11.12.0 | No known advisory                                                             |
|      | 10.7.3  | 4 open advisories, worst moderate  · last release Jun 2021, no longer updated |

- Moderate  
[ReDOS vulnerabities: multiple grammars](https://inlinr.com/advisories/GHSA-7wwv-vh3v-89cq)GHSA-7wwv-vh3v-89cq · 4 Dec 2020  
fixed in 10.4.1
- Moderate  
[Prototype Pollution in highlight.js](https://inlinr.com/advisories/GHSA-vfrc-7r7c-w9mx)GHSA-vfrc-7r7c-w9mx · 24 Nov 2020  
fixed in 10.1.2, 9.18.2

### Quality and security signals

What [npm](https://www.npmjs.com/package/highlight.js) and [deps.dev](https://deps.dev/npm/highlight.js) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
