XSS in Katex
CVE-2025-23207
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with `renderToString` could encounter malicious input using `\htmlData` that runs arbitrary JavaSc…
EPSS: 0.004 (29.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Katex — versions >= 0.12.0, < 0.16.21
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-23207?
- CVE-2025-23207 is a medium-severity vulnerability in Katex, classified under Improper Encoding or Escaping of Output. CVSS score: 6.3/10. Published 2025-01-17.
- How severe is CVE-2025-23207?
- Medium severity. CVSS v3 base score is 6.3 out of 10.