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)
References
- vuldb.com/vuln/441503
- vuldb.com/vuln/441503/cti
- vuldb.com/cve/CVE-2026-133937
- vuldb.com/submit/1052004
- github.com/highlightjs/highlight.js/issues/4529
- github.com/highlightjs/highlight.js/pull/4575 patch
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.