VDB

CVE-2024-28245

CVE-2024-28245 PUBLISHED CVSS 6.3 MEDIUM

KaTeX's \includegraphics does not escape filename

Reported by github_m · Published March 25, 2024

katex is fixed in 0.16.10 (npm)

KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this vulnerability.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
katexnpm0.16.10
katexkatex0.16.10

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
KaTeXKaTeX>= 0.11.0, < 0.6.10
KaTeXKaTeX0.11.0
npmkatex0.11.0
katexkatex0.11.0

Timeline

  • Mar 25, 2024 CVE Published
  • Mar 26, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Sep 2, 2025 CVE Updated
  • Jan 14, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-28245
vulnetix vdb fixes CVE-2024-28245

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-28245/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›