katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
0.19.1 is the newest release of 0.13.x.
In short
20 new12 fixed6 changed40 internal
Security
5 advisories affect 0.13.0; 0.18.2 fixes them
- ModerateKaTeX \htmlData does not validate attribute namesGHSA-cg87-wmx4-v546 · 17 Jan 2025Fixed in 0.16.21
- 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
- ModerateKaTeX's maxExpand bypassed by `\edef`GHSA-64fm-8hw2-v72w · 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
Bug Fixes
Remove topEnv parameter.
builder: Combine characters together in all expressions
Prevent global group from adversely affecting color.
Use SVGs to avoid gaps in tall delimiters.
Rewrite of splitAtDelimiters.js -- new fix for #2523
Improve MathML for math operators with subscripts
Remove premature CD screenshotter images
Support Armenian characters
MathML \lim\limits in Safari
Support MathML \oiint and \oiiint
Features
Support \underbar
Add {CD} to auto-render.
Set Auto-render to recognize AMS environments without $$…$$ delimiters.
Support {CD}
Support \vcenter and \hbox
function: Add
allowedInArgumentinstead ofgreedinesspropertySupport matrix*, pmatrix*, bmatrix*, Bmatrix*, vmatrix*, and Vmatrix*.
macro: Improve argument parsing
Support AMS log-like symbols
Support Unicode ◯, U+25EF
Support \phase
Support \mathstrut
Support {equation}, {equation*}, and {split}
css: Use postcss-preset-env
Support {align}, {align*}, {alignat}, and {alignat*}
Support {gather} and {gather*}
Support MathML \big, \bigg, \Big, and \Bigg
Support \angl and \angln
Support \origof and \imageof
Other Changes
browserslist: Remove Chrome 49, Samsung 4, and Node
Configure Renovate
Update LICENSE year
Fix test/symgroups.js
Use base revision provided by CircleCI
Delete bower.json
Enable a MathML option in the KaTeX demo.
Create dependabot.yml
Run screenshotter using Chrome 83 and Firefox 76
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.