katex

Fast math typesetting for the web.

0.19.1Latest, 23 Oct 2026
197MDownloads, last month
0Advisories on the latest
6Advisories, all versions
MITLicence
21KStars
4.5/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Low KaTeX: Existing prototype pollution can bypass trust restrictions CVE-2026-103923 Fixed in 0.18.2 5 Oct 2026
Moderate KaTeX \htmlData does not validate attribute names CVE-2025-23207 Fixed in 0.16.21 17 Jan 2025
Moderate KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols CVE-2024-28246 Fixed in 0.16.10 25 Mar 2024
Moderate KaTeX's maxExpand bypassed by `\edef` CVE-2024-28243 Fixed in 0.16.10 25 Mar 2024
Moderate KaTeX's maxExpand bypassed by Unicode sub/superscripts CVE-2024-28244 Fixed in 0.16.10 25 Mar 2024
Moderate KaTeX's `\includegraphics` does not escape filename CVE-2024-28245 Fixed in 0.16.10 25 Mar 2024

In the news

On Hacker News

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