Read the docs

Inefficient regex in highlight.js LiveScript grammar causes slowdowns

Priority HIGH 70CWE-1333Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00701 48th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
highlighthighlight.js11.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 listedCNA
  • 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

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:highlight:highlight.js:*:*:*:*:*:*:*:*——highlight
  • cpe:2.3:a:highlight:highlight.js:*:*:*:*:*:*:*:* Versions — — ·highlight

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 →

ProductStatusPlan or fix
Multicluster Engine for KubernetesAffectedNo fix yet: Fix deferred
Multicluster Engine for Kubernetes 5AffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
OpenShift PipelinesAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 5AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 4AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 5AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 9AffectedNo fix yet: Fix deferred
Red Hat Connectivity Link 1AffectedNo fix yet: Fix deferred
Red Hat Data Grid 8AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel for Spring Boot 4AffectedNo fix yet: Fix deferred
Self-service automation portal 2AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-133937
  2. 2026-11-21 Alias added: GHSA-cgx4-p4cg-j8rq
  3. 2026-11-21 Affected versions changed · Red Hat
  4. 2026-11-21 CVSS score added · Red Hat
  5. 2026-11-24 Affected versions changed · Red Hat
  6. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2023-16364 highlight vulnerable to cleartext transmission of sensitive information CVSS 3.1MEDIUM 6.5

Sources