Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-133937: medium-severity vulnerability (CVSS 6.9) in highlight highlight.js.
What happened
Original description from the source: A flaw has been found in highlight highlight.js up to 11.12.0. The affected element is the function hljs.highlight of the file src/languages/livescript.js of the component Language Grammar Handler. Executing a manipulation of the argument text can lead to inefficient regular expression complexity. The attack can be launched remotely. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.
Why it matters
Medium severity, CVSS 6.9.
Affected products and versions
highlight highlight.js 11.0; highlight highlight.js 11.1; highlight highlight.js 11.2; highlight highlight.js 11.3; highlight highlight.js 11.4; highlight highlight.js 11.5; highlight highlight.js 11.6; highlight highlight.js 11.7; highlight highlight.js 11.8; highlight highlight.js 11.9; highlight highlight.js 11.10; highlight highlight.js 11.11
| Product | Versions | Fixed in |
|---|---|---|
| highlight highlight.js | 11.0 | — |
| highlight highlight.js | 11.1 | — |
| highlight highlight.js | 11.2 | — |
| highlight highlight.js | 11.3 | — |
| highlight highlight.js | 11.4 | — |
| highlight highlight.js | 11.5 | — |
| highlight highlight.js | 11.6 | — |
| highlight highlight.js | 11.7 | — |
| highlight highlight.js | 11.8 | — |
| highlight highlight.js | 11.9 | — |
| highlight highlight.js | 11.10 | — |
| highlight highlight.js | 11.11 | — |
| highlight highlight.js | 11.12.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://vuldb.com/vuln/441503 — CVE Program
- https://vuldb.com/vuln/441503/cti — CVE Program
- https://vuldb.com/cve/CVE-2026-133937 — CVE Program
- https://vuldb.com/submit/1052004 — CVE Program
- https://github.com/highlightjs/highlight.js/issues/4529 — CVE Program
- https://github.com/highlightjs/highlight.js/pull/4575 — CVE Program
Weaknesses (CWE): CWE-1333, CWE-400
Relevant change history
Published
Preliminary advisory published.