{"cve":"CVE-2024-28245","nvd":{"published":"2024-03-25T20:15:08.370","modified":"2026-06-17T07:21:15.303","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-116"],"references":["https://github.com/KaTeX/KaTeX/commit/c5897fcd1f73da9612a53e6b5544f1d776e17770","https://github.com/KaTeX/KaTeX/security/advisories/GHSA-f98w-7cxr-ff2h","https://github.com/KaTeX/KaTeX/commit/c5897fcd1f73da9612a53e6b5544f1d776e17770","https://github.com/KaTeX/KaTeX/security/advisories/GHSA-f98w-7cxr-ff2h"],"products":["katex:katex"],"source":"nvd","synced_at":"2026-10-19T21:47:51.568503435+00:00"},"epss":{"cve":"CVE-2024-28245","score":0.00406,"percentile":0.34878,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-f98w-7cxr-ff2h","url":"https://osv.dev/vulnerability/GHSA-f98w-7cxr-ff2h","summary":"KaTeX's `\\includegraphics` does not escape filename","modified":"2026-09-10T03:50:10.498631041Z","packages":[{"ecosystem":"npm","name":"katex","purl":"pkg:npm/katex","ranges":[">=0.11.0 <0.16.10"],"fixed":["0.16.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}