CVE-2026-133937
highlight highlight.js Language Grammar livescript.js hljs.highlight redos
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| highlight.js highlight |
11.0 (affected) 11.1 (affected) 11.2 (affected) 11.3 (affected) 11.4 (affected) 11.5 (affected) 11.6 (affected) 11.7 (affected) 11.8 (affected) 11.9 (affected) 11.10 (affected) 11.11 (affected) 11.12.0 (affected) |
CNA: VulDB |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 6.9 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | CNA: VulDB |
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C | CNA: VulDB |
| 3.0 / 5.3 medium |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C | CNA: VulDB |
| 2.0 / 5.0 medium |
AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:ND/RC:C | CNA: VulDB |
| 4.0 / 5.5 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD: [email protected] |
| 2.0 / 5.0 medium |
AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD: [email protected] |
Exploit evidence
- https://github.com/highlightjs/highlight.js/issues/4529
exploit · CNA: VulDB
References
- https://vuldb.com/vuln/441503CNA: VulDB · vdb-entry, technical-description
- https://vuldb.com/vuln/441503/ctiCNA: VulDB · signature, permissions-required
- https://vuldb.com/cve/CVE-2026-133937CNA: VulDB · third-party-advisory
- https://vuldb.com/submit/1052004CNA: VulDB · third-party-advisory
- https://github.com/highlightjs/highlight.js/issues/4529CNA: VulDB · exploit, issue-tracking
- https://github.com/highlightjs/highlight.js/pull/4575CNA: VulDB · issue-tracking, patch
- https://github.com/highlightjs/highlight.js/issues/4529[email protected]
- https://github.com/highlightjs/highlight.js/pull/4575[email protected]
- https://vuldb.com/cve/CVE-2026-133937[email protected]
- https://vuldb.com/submit/1052004[email protected]
- https://vuldb.com/vuln/441503[email protected]
- https://vuldb.com/vuln/441503/cti[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.