CVE-2026-133937

highlight highlight.js Language Grammar livescript.js hljs.highlight redos

State
Published
Severity
6.9 Medium
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Nov 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS: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:PVulDB
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:CVulDB
3.05.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:CVulDB
2.05.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:ND/RC:CVulDB

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity
  • CWE-400 Resource Consumption

Affected Products

ProductVersions
highlight.jshighlight
  • 11.0Affected
  • 11.1Affected
  • 11.2Affected
  • 11.3Affected
  • 11.4Affected
  • 11.5Affected
  • 11.6Affected
  • 11.7Affected
  • 11.8Affected
  • 11.9Affected
  • 11.10Affected
  • 11.11Affected
  • 11.12.0Affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.