katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
Upgrading katex From 0.14.1 to 0.15.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.15.0
Security
5 advisories still affect 0.15.0
- KaTeX: Existing prototype pollution can bypass trust restrictionslow · GHSA-238p-pmpm-9mq7
- 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
Upgrading to 0.18.2 clears them.
Release by release
- Breaking
\relaxis now implemented as a function. It'll stop expansions and parsing, so the behavior around\relaxmay change. For example,\kern2\relax emwill no longer work. - New
Implement \relax as no-op function
- Breaking
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.