Skip to main content
CVE-2024-28243VulnerabilityPublished Updated

Node katex: KaTeX users who render untrusted mathematical expressions could encounter malicious input using \edef that

Affects node-katexSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 when convenient.

Data as of 24 Nov 2026, 19:26 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.13.11+~cs6.0.0-2ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu node-katex package to 0.13.11+~cs6.0.0-2ubuntu0.1~esm1.

Affected software

ProductAffectedFixed in
Ubuntu Pro 22.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.13.11+~cs6.0.0-2ubuntu0.1~esm1
Fixed in
  • 0.13.11+~cs6.0.0-2ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\edef` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. This can be used as an availability attack, where e.g. a client rendering another user's KaTeX input will be unable to use the site due to memory overflow, tying up the main thread, or stack overflow. Upgrade to KaTeX v0.16.10 to remove this vulnerability.

References

Community reviews

Loading reviews…