Moderate severityNVD Advisory· Published Mar 25, 2024· Updated Aug 2, 2024
KaTeX's \includegraphics does not escape filename
CVE-2024-28245
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
katexnpm | >= 0.11.0, < 0.16.10 | 0.16.10 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-f98w-7cxr-ff2hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-28245ghsaADVISORY
- github.com/KaTeX/KaTeX/commit/c5897fcd1f73da9612a53e6b5544f1d776e17770ghsax_refsource_MISCWEB
- github.com/KaTeX/KaTeX/security/advisories/GHSA-f98w-7cxr-ff2hghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.