# katex (npm)

Fast math typesetting for the web.

- Latest: 0.19.1 (2026-10-23)
- Licence: MIT
- Downloads: 197007077 last month
- Advisories on the latest version: 0

- CVE-2026-103923 LOW: KaTeX: Existing prototype pollution can bypass trust restrictions Fixed in 0.18.2.
- CVE-2025-23207 MODERATE: KaTeX \htmlData does not validate attribute names Fixed in 0.16.21.
- CVE-2024-28246 MODERATE: KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols Fixed in 0.16.10.
- CVE-2024-28243 MODERATE: KaTeX's maxExpand bypassed by `\edef` Fixed in 0.16.10.
- CVE-2024-28244 MODERATE: KaTeX's maxExpand bypassed by Unicode sub/superscripts Fixed in 0.16.10.
- CVE-2024-28245 MODERATE: KaTeX's `\includegraphics` does not escape filename Fixed in 0.16.10.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
