CVE-2024-28245
published medium CVSS 3.1 · 6.3KaTeX's \includegraphics does not escape filename
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| KaTeX | — | KaTeX>= 0.11.0, < 0.6.10 | Affected | Not stated | GitHub_M |
| katex | — | katex0.11.0 to < 0.16.10 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Ubuntu | jammy | katex | Advisory build | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | USN-7572-1 |
| Ubuntu | jammy | fonts-katex | Advisory build | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | USN-7572-1 |
| Ubuntu | jammy | libjs-katex | Advisory build | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | USN-7572-1 |
| Ubuntu | jammy | node-katex | Advisory build | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | USN-7572-1 |
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 `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| KaTeX | KaTeX | >= 0.11.0, < 0.6.10 (affected) | GitHub_M · cna |
| katex | katex | 0.11.0 to < 0.16.10 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
2Provider assertions
3GitHub_M · cna
KaTeX's \includegraphics does not escape filename
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e5a3f029008f66bd079884ad025d3f5f422991ec14c581093344aa819dd298da
- Ingested
- 23 Sep 2026, 08:21:01 UTC
- Source record
- Official CVE record