npmWorst: Moderate6 advisories

katex: known vulnerabilities

katex has 6 reviewed security advisories in the GitHub Advisory Database — 5 moderate, 1 low. The most recent was published 2026-10-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the katex versions running across your servers, containers and images, and ranks what to patch first.

How to fix katex

Upgrade katex to a release at or above the fixed version shown for each advisory below. For npm:

npm install katex@0.18.2 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (6)

KaTeX: Existing prototype pollution can bypass trust restrictions Low CWE-807 — Affected: from 0.11.0 up to 0.18.2. Fixed in 0.18.2. Published 2026-10-01. GHSA-238p-pmpm-9mq7 · CVE-2026-103923
KaTeX \htmlData does not validate attribute names Moderate 6.3 CWE-116 CWE-79 — Affected: from 0.12.0 up to 0.16.21. Fixed in 0.16.21. Published 2025-01-17. GHSA-cg87-wmx4-v546 · CVE-2025-23207
KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols Moderate 5.5 CWE-184 — Affected: from 0.11.0 up to 0.16.10. Fixed in 0.16.10. Published 2024-03-25. GHSA-3wc5-fcw2-2329 · CVE-2024-28246
KaTeX's maxExpand bypassed by `\edef` Moderate 6.5 CWE-606 CWE-674 — Affected: from 0.12.0 up to 0.16.10. Fixed in 0.16.10. Published 2024-03-25. GHSA-64fm-8hw2-v72w · CVE-2024-28243
KaTeX's maxExpand bypassed by Unicode sub/superscripts Moderate 6.5 CWE-606 CWE-674 — Affected: from 0.15.4 up to 0.16.10. Fixed in 0.16.10. Published 2024-03-25. GHSA-cvr6-37gx-v8wc · CVE-2024-28244
KaTeX's `\includegraphics` does not escape filename Moderate 6.3 CWE-116 — Affected: from 0.11.0 up to 0.16.10. Fixed in 0.16.10. Published 2024-03-25. GHSA-f98w-7cxr-ff2h · CVE-2024-28245

Find katex across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.