katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
0.19.1 is the newest release of 0.11.x.
In short
1 breaking12 new9 fixed5 changed1 internal
- Breaking
trustsetting to indicate whether input text is trusted
Security
3 advisories affect 0.11.0; 0.18.2 fixes them
- ModerateKaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocolsGHSA-3wc5-fcw2-2329 · 25 Mar 2024Fixed in 0.16.10
- ModerateKaTeX's `\includegraphics` does not escape filenameGHSA-f98w-7cxr-ff2h · 25 Mar 2024Fixed in 0.16.10
- LowKaTeX: Existing prototype pollution can bypass trust restrictionsGHSA-238p-pmpm-9mq7 · 5 Oct 2026Fixed in 0.18.2
Release note
Added
- Breaking
trustsetting to indicate whether input text is trusted\hrefand\urlwill break without adjusting thetrustsettingSee katex.org/docs/options.html for details on
trustsetting
Add test for double square brackets to katex-spec
Add option to render only MathML so that its visible
Support {smallmatrix}, {subarray}, and \substack
Enable minRuleThickness in rendering options
Add \plim
Support Unicode \digamma
Support \operatorname*
Support \includegraphics, with appropriate trust setting
Add render-a11y-string add-on
Changed
Remove unclosed TODO comment
Add "Tutti Quanti Shelf" app to users page
Document mhchem \cf not supported (use \ce instead)
Replace greenkeeper badge with dependabot badge
Add Unicode digamma to documentation
Add katex-expression to libs page
Suggest <!DOCTYPE html> in documentation
Unicode characters in math render in text mode
Fixed
Improve output of fonts in MathML
Fix \pmb
\color affects following \right, put array cells in their own groups
Improve MathML for classes
Prevent gaps in tall delimiters
Fix \sqrt SVG path
Do not force sizing groups to display inline-block
Fix font choice in operators like \log (e.g. \boldsymbol{\log})
Fix argument font sizing in \fbox and \raisebox, fix font sizing in \TeX, \LaTeX, \KaTeX
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.