katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
Upgrading katex From 0.16.9 to 0.16.10
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 4
- advisories fixed
- 0
- new
- 4
- fixes
Security
2 advisories still affect 0.16.10
- KaTeX: Existing prototype pollution can bypass trust restrictionslow · GHSA-238p-pmpm-9mq7
- KaTeX \htmlData does not validate attribute namesmoderate · GHSA-cg87-wmx4-v546
Upgrading to 0.18.2 clears them.
Fixes 4 advisories affecting 0.16.9
- KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocolsmoderate · GHSA-3wc5-fcw2-2329
- KaTeX's maxExpand bypassed by `\edef`moderate · GHSA-64fm-8hw2-v72w
- KaTeX's maxExpand bypassed by Unicode sub/superscriptsmoderate · GHSA-cvr6-37gx-v8wc
- KaTeX's `\includegraphics` does not escape filenamemoderate · GHSA-f98w-7cxr-ff2h
Release by release
- Fixed
\edef bypassing maxExpand via exponential blowup
- Fixed
Escape \includegraphics src and alt
- Fixed
Force protocol to be lowercase for better protocol filtering (fc5af64), closes /datatracker.ietf.org/doc/html/rfc3986#section-3
- Fixed
maxExpand limit with Unicode sub/superscripts
- Fixed
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.