node-katex: KaTeX is a JavaScript library for TeX math rendering on the web
CVE-2024-28246 is fixed in 4 products on 1 platform, first by DEBIAN-CVE-2024-28246, released March 25, 2024. It is not reported as exploited. Patch Radar priority: Routine.
KaTeX is a JavaScript library for TeX math rendering on the web. Code that uses KaTeX's `trust` option, specifically that provides a function to blacklist certain URL protocols, can be fooled by URLs in malicious inputs that use uppercase characters in the protocol. In particular, this can allow for malicious input to generate `javascript:` links in the output, even if the `trust` function tries to forbid this protocol via `trust: (context) => context.protocol !== 'javascript'`. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| fonts-katex · Ubuntu 22.04.1 LTS (jammy) | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | fonts-katex 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | Jan 17, 2025 |
| katex · Ubuntu 22.04.1 LTS (jammy) | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | katex 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | Jan 17, 2025 |
| libjs-katex · Ubuntu 22.04.1 LTS (jammy) | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | libjs-katex 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | Jan 17, 2025 |
| node-katex · Debian 13.5 (trixie) | 0.16.10+~cs6.1.0-1 | DEBIAN-CVE-2024-28246 | Mar 25, 2024 |
| node-katex · Debian 14 | 0.16.10+~cs6.1.0-1 | DEBIAN-CVE-2024-28246 | Mar 25, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.