Skip to main content
CVE-2024-28246VulnerabilityPublished Updated

Node katex: Code that uses KaTeX's trust option, specifically that provides a function to blacklist certain URL

Affects node-katexSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.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:R/S:U/C:L/I:L/A:L

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. 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

Community reviews

Loading reviews…