CVE-2024-28245Katex
Medium 6.1 No auth needed
Follow: this CVE · Katex · Katex We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Katex.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| katex | katex | ≥ 0.11.0 < 0.16.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory