# katex (npm) vulnerabilities

6 known vulnerabilities (5 medium, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/katex

## Advisories (6)

### [CVE-2026-103923](https://cve.now/CVE-2026-103923): KaTeX: Existing prototype pollution can bypass trust restrictions

- Severity: Low 2.1
- Published: Oct 1, 2026
- Affected: from 0.11.0, fixed in 0.18.2.

### [CVE-2025-23207](https://cve.now/CVE-2025-23207): \\htmlData does not validate attribute names in KaTeX

- Severity: Medium 6.3
- Published: Jan 17, 2025
- Affected: from 0.12.0, fixed in 0.16.21.

### [CVE-2024-28246](https://cve.now/CVE-2024-28246): KaTeX is missing normalization of the protocol in URLs allows bypassing forbidden protocols

- Severity: Medium 5.5
- Published: Mar 25, 2024
- Affected: from 0.11.0, fixed in 0.16.10.

### [CVE-2024-28245](https://cve.now/CVE-2024-28245): KaTeX's \\includegraphics does not escape filename

- Severity: Medium 6.3
- Published: Mar 25, 2024
- Affected: from 0.11.0, fixed in 0.16.10.

### [CVE-2024-28244](https://cve.now/CVE-2024-28244): KaTeX's maxExpand bypassed by Unicode sub/superscripts

- Severity: Medium 6.5
- Published: Mar 25, 2024
- Affected: from 0.15.4, fixed in 0.16.10.

### [CVE-2024-28243](https://cve.now/CVE-2024-28243): KaTeX's maxExpand bypassed by \\edef

- Severity: Medium 6.5
- Published: Mar 25, 2024
- Affected: from 0.12.0, fixed in 0.16.10.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/katex
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
