Security mailing lists by PureSourceCode

CVE-2024-28245

MEDIUM 6.1CVSS 3.1

KaTeX's `\includegraphics` does not escape filename

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.

Published
25 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-116
Also known as
GHSA-f98w-7cxr-ff2h
Sources
NVDJSONOSV GHSA-f98w-7cxr-ff2hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD katex katex
cpe:2.3:a:katex:katex:*:*:*:*:*:*:*:*
>= 0.11.0, < 0.16.10 0.16.10
OSV npm katex >= 0.11.0, < 0.16.10 0.16.10

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Mar 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.