CVE-2026-133937
Deferred Deferred - Pending Action

Inefficient Regular Expression Complexity in highlight.js

Vulnerability report for CVE-2026-133937, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-20

Last updated on: 2026-11-20

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-20
Last Modified
2026-11-20
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1333 The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in highlight.js up to version 11.12.0. It involves the hljs.highlight function in the livescript.js file. Manipulating the text argument can cause inefficient regular expression complexity, leading to potential denial-of-service conditions. The exploit is publicly available and a fix is pending.

Detection Guidance

This vulnerability is specific to the highlight.js library and involves inefficient regular expression complexity in the livescript.js language handler. To detect it, check if your application uses highlight.js version 11.12.0 or earlier. Inspect the dependencies in your project files for highlight.js and verify the version. No direct network or system commands are provided in the context to detect this issue.

Impact Analysis

An attacker could remotely trigger excessive CPU usage by sending crafted input, causing system slowdowns or crashes. This may disrupt services relying on highlight.js for syntax highlighting, such as web applications or documentation sites.

Compliance Impact

This vulnerability does not directly impact compliance with GDPR, HIPAA, or similar standards. The flaw involves inefficient regular expression complexity in highlight.js, which could lead to denial-of-service conditions but does not involve unauthorized data access, disclosure, or processing violations typically addressed by these regulations.

Mitigation Strategies

Update highlight.js to the latest version beyond 11.12.0 to address the inefficient regular expression complexity issue. If immediate update is not possible, consider disabling or restricting the use of the Language Grammar Handler component in highlight.js to prevent exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-133937. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...