Live threats

All CVEs / Katex

CVE-2024-28245Katex

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.5%
probability of exploitation in 30 days · percentile 40
Auth required
No
Published
Mar 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Katex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm katex ≥ 0.11.0 < 0.16.10 0.16.10 npm install katex@0.16.10

Per OSV / GitHub Advisories (GHSA-f98w-7cxr-ff2h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
katexkatex≥ 0.11.0 < 0.16.10

Official sources

References

Links published by the sources. Open them with care.