Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.9CVE-2026-133937

CVE-2026-133937: highlight highlight.js Language Grammar livescript.js hljs.highlight redos

highlight highlight.js

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133937: medium-severity vulnerability (CVSS 6.9) in highlight highlight.js.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.9.

Affected products and versions

highlight highlight.js 11.0; highlight highlight.js 11.1; highlight highlight.js 11.2; highlight highlight.js 11.3; highlight highlight.js 11.4; highlight highlight.js 11.5; highlight highlight.js 11.6; highlight highlight.js 11.7; highlight highlight.js 11.8; highlight highlight.js 11.9; highlight highlight.js 11.10; highlight highlight.js 11.11

ProductVersionsFixed in
highlight highlight.js11.0—
highlight highlight.js11.1—
highlight highlight.js11.2—
highlight highlight.js11.3—
highlight highlight.js11.4—
highlight highlight.js11.5—
highlight highlight.js11.6—
highlight highlight.js11.7—
highlight highlight.js11.8—
highlight highlight.js11.9—
highlight highlight.js11.10—
highlight highlight.js11.11—
highlight highlight.js11.12.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-1333, CWE-400

Relevant change history

  1. Published

    Preliminary advisory published.