#1155150 highlight.js: CVE-2026-133937

Package:
src:highlight.js
Source:
src:highlight.js
Submitter:
Moritz Mühlenhoff
Date:
2026-11-24 19:59:04 UTC
Severity:
normal
Tags:
#1155150#5
Date:
2026-11-24 19:10:39 UTC
From:
To:
Hi,

The following vulnerability was published for highlight.js.

CVE-2026-133937[0]:
| 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.

https://github.com/highlightjs/highlight.js/issues/4529
https://github.com/highlightjs/highlight.js/pull/4575


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-133937
https://www.cve.org/CVERecord?id=CVE-2026-133937

Please adjust the affected versions in the BTS as needed.