What’s Vulnerable › Vulnerabilities

CVE-2024-28245: KaTeX's \includegraphics does not escape filename

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.

Affected products

How to fix

Upgrade to a fixed version: KaTeX 0.16.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-28245 or the next vulnerability affects your stack