Node katex: KaTeX users who render untrusted mathematical expressions could encounter malicious input using \edef that
Affects node-katexSource GCVE Database
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 22.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2024-28243 (opens in a new tab)
- github.com/KaTeX/KaTeX/security/advisories/GHSA-64fm-8hw2-v72w (opens in a new tab)
- github.com/KaTeX/KaTeX/commit/e88b4c357f978b1bca8edfe3297f0aa309bcbe34 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-28243 (opens in a new tab)
- ubuntu.com/security/notices/USN-7572-1 (opens in a new tab)