Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.3CVE-2026-133937

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

Published 20/11/2026 · Updated 25/11/2026 · highlight.js

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.

Affected products and versions

highlight highlight.js11.0 · 11.1 · 11.2 · 11.3 · 11.4 · 11.5 · 11.6 · 11.7 · 11.8 · 11.9 · 11.10 · 11.11

CVSS vector, explained

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

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
None
Availability
Low impact

Weakness type (CWE)

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

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.