
CVE catalog
CVE-2024-28246
KaTeX vulnerabilities
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-katex | sid | 0.16.10+~cs6.1.0-10 | fixed |
| Debian | node-katex | forky | 0.16.10+~cs6.1.0-10 | fixed |
| Debian | node-katex | trixie | 0.16.10+~cs6.1.0-2 | fixed |
| Debian | node-katex | bookworm | 0.16.4+~cs6.1.0-1 | vulnerable |
| Ubuntu | node-katex | noble | Not reported | vulnerable |
| Ubuntu | node-katex | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | fonts-katex | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | katex | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | libjs-katex | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | node-katex | pro | 0.10.2+dfsg-8 | vulnerable |
| Ubuntu | node-katex | pro | 0.10.2+dfsg-9 | vulnerable |
| Ubuntu | node-katex | pro | 0.10.2+dfsg-10 | vulnerable |
| Ubuntu | node-katex | pro | 0.13.11+~cs6.0.0-2 | vulnerable |
| Ubuntu | node-katex | pro | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-katex | source | sid | 0.16.10+~cs6.1.0-1 | not yet assigned | Not reported | [1067805] |
| Debian | node-katex | source | forky | 0.16.10+~cs6.1.0-1 | not yet assigned | Not reported | [1067805] |
| Debian | node-katex | source | trixie | 0.16.10+~cs6.1.0-1 | not yet assigned | Not reported | [1067805] |
| Debian | node-katex | source | bookworm | (unfixed) | not yet assigned | Not reported | [1067805] |
| Ubuntu | node-katex | deb | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | fonts-katex | deb | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | katex | deb | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libjs-katex | deb | noble | 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | node-katex | deb | pro | 0.13.11+~cs6.0.0-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-28246 | Not reported |
Notes
[bookworm] node-katex: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-28246]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-28246]
- [https://security-tracker.debian.org/tracker/CVE-2024-28246]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-28246.json]
- [https://ubuntu.com/security/notices/USN-7572-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]