katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
Upgrading katex From 0.10.2 to 0.11.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 12
- new
- 9
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.11.0
Security
3 advisories still affect 0.11.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 `\includegraphics` does not escape filenamemoderate · GHSA-f98w-7cxr-ff2h
Upgrading to 0.18.2 clears them.
Release by release
- Breaking
trustsetting to indicate whether input text is trusted - New
Add test for double square brackets to katex-spec
- New
Add option to render only MathML so that its visible
- New
Support {smallmatrix}, {subarray}, and \substack
- Breaking
5 other lines we could not sort, mostly version bumps
- 0.11.0
Remove unclosed TODO comment
- 0.11.0
Document mhchem \cf not supported (use \ce instead)
- 0.11.0
Replace greenkeeper badge with dependabot badge
- 0.11.0
Suggest <!DOCTYPE html> in documentation
- 0.11.0
Unicode characters in math render in text mode
1 internal line (docs, tests, tooling) left out.
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.