CVE catalog

CVE-2024-28246

KaTeX vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-katexsid0.16.10+~cs6.1.0-10fixed
Debiannode-katexforky0.16.10+~cs6.1.0-10fixed
Debiannode-katextrixie0.16.10+~cs6.1.0-2fixed
Debiannode-katexbookworm0.16.4+~cs6.1.0-1vulnerable
Ubuntunode-katexnobleNot reportedvulnerable
Ubuntunode-katexnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1fixed
Ubuntufonts-katexnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1fixed
Ubuntukatexnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1fixed
Ubuntulibjs-katexnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1fixed
Ubuntunode-katexpro0.10.2+dfsg-8vulnerable
Ubuntunode-katexpro0.10.2+dfsg-9vulnerable
Ubuntunode-katexpro0.10.2+dfsg-10vulnerable
Ubuntunode-katexpro0.13.11+~cs6.0.0-2vulnerable
Ubuntunode-katexpro0.13.11+~cs6.0.0-2ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-katexsourcesid0.16.10+~cs6.1.0-1not yet assignedNot reported[1067805]
Debiannode-katexsourceforky0.16.10+~cs6.1.0-1not yet assignedNot reported[1067805]
Debiannode-katexsourcetrixie0.16.10+~cs6.1.0-1not yet assignedNot reported[1067805]
Debiannode-katexsourcebookworm(unfixed)not yet assignedNot reported[1067805]
Ubuntunode-katexdebnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntufonts-katexdebnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntukatexdebnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntulibjs-katexdebnoble0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntunode-katexdebpro0.13.11+~cs6.0.0-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-28246Not reported

[Debian bug #1067805]

Notes

[bookworm] node-katex: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References