katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
Upgrading katex From 0.11.1 to 0.12.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 9
- new
- 15
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.12.0
- Breaking0.12.0
Security
5 advisories still affect 0.12.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
BREAKING CHANGE: old-style numerals are now available via
\mathnormalinstead of\mathcal - Breaking
IE 9/10 support
- New
globalGroupoption to place definitions in global scope - New
\cal
- Breaking
7 other lines we could not sort, mostly version bumps
- 0.12.0
HTML extension can be enabled using
strictandtrustsetting. See katex.org/docs/options.html for more details. Please review its security implication before enabling the extension. - 0.12.0
Update documentation (#2086, #2108, #2107, #2106, #2143, #2178, #2195, #2231, #2239, #2263, #2279, #2289, #2280. #2269, #2294, #2296, #2297)
- 0.12.0
mathtex-script: Use html 'defer' attribute - 0.12.0
auto-render: do not touch text nodes w/o formulas - 0.12.0
Move \global and \def to functions
- 0.12.0
Cleanup font build scripts & font updates (#2155, #2171, #2156)
- 0.12.0
Upgrade minimum development Node version to v10
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.