Inefficient regex in highlight.js LiveScript grammar causes slowdowns
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-1333.
Summary
highlight.js up to 11.12.0 contains an inefficient regular expression in the hljs.highlight function of the LiveScript language grammar. The flaw is classified as CWE-1333 and lets crafted text input cause excessive regex processing. A remote attacker needs no privileges or user interaction to trigger it, which degrades availability. A public exploit has been published.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| highlight | highlight.js | 11.0; 11.1; 11.2; 11.3; 11.4; 11.5; 11.6; 11.7; 11.8; 11.9; 11.10; 11.11; 11.12.0 | — | No fix listed | CNA |
- highlight.js Vendorhighlight Affected 11.0; 11.1; 11.2; 11.3; 11.4; 11.5; 11.6; 11.7; 11.8; 11.9; 11.10; 11.11; 11.12.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for highlight.js. A pull request to fix this issue awaits acceptance. Red Hat rates the flaw Moderate and lists no available plan for affected products including OpenShift Pipelines and Red Hat Ceph Storage 9.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Multicluster Engine for Kubernetes | Affected | No fix yet: Fix deferred |
| Multicluster Engine for Kubernetes 5 | Affected | No fix yet: Fix deferred |
| OpenShift Lightspeed | Affected | No fix yet: Fix deferred |
| OpenShift Pipelines | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 3 | Affected | No fix yet: Fix deferred |
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Management for Kubernetes 5 | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Security 4 | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Security 5 | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Connectivity Link 1 | Affected | No fix yet: Fix deferred |
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Quay 3 | Affected | No fix yet: Fix deferred |
| Red Hat Trusted Artifact Signer | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
| Self-service automation portal 2 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-11-20 Threatist record created from CVE-2026-133937
- 2026-11-21 Alias added: GHSA-cgx4-p4cg-j8rq
- 2026-11-21 Affected versions changed · Red Hat
- 2026-11-21 CVSS score added · Red Hat
- 2026-11-24 Affected versions changed · Red Hat
- 2026-11-25 CISA SSVC decision points changed
References
More highlight vulnerabilities
- TI-2023-16364 highlight vulnerable to cleartext transmission of sensitive information CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-133937 · CVE Program
- CVE-2026-133937 · NVD
- FIRST EPSS
- GHSA-cgx4-p4cg-j8rq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-133937 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences