Node katex: Code that uses KaTeX's trust option, specifically that provides a function to blacklist certain URL
Affects node-katexSource GCVE Database
Not known to be exploited · CVSS 5.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:R/S:U/C:L/I:L/A:LExploitation 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. Code that uses KaTeX's `trust` option, specifically that provides a function to blacklist certain URL protocols, can be fooled by URLs in malicious inputs that use uppercase characters in the protocol. In particular, this can allow for malicious input to generate `javascript:` links in the output, even if the `trust` function tries to forbid this protocol via `trust: (context) => context.protocol !== 'javascript'`. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
References
- ubuntu.com/security/CVE-2024-28246 (opens in a new tab)
- github.com/KaTeX/KaTeX/security/advisories/GHSA-3wc5-fcw2-2329 (opens in a new tab)
- github.com/KaTeX/KaTeX/commit/fc5af64183a3ceb9be9d1c23a275999a728593de (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-28246 (opens in a new tab)
- ubuntu.com/security/notices/USN-7572-1 (opens in a new tab)