Security Resilience

CVE-2024-28245

Katex 0.11.0 – 0.16.10

Published
25 March 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 6.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0041 36th percentile
Risk Priority 49 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-28245 is a medium-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Katex. Its CVSS base score is 6.3 (Medium).

Operationally, ranked at the 36th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as Not AI.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

vulnerability.

CWE(s)

AI Security AnalysisAI

AI Category
Not AI
Risk Domain
N/A
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Parse error: { "category": "Not AI", "reason": "KaTeX is a general-purpose JavaScript library for rendering TeX mathematical expressions on the web, not an AI, machine learning, or related technology. The vuln

Related Threats

CVEs Like This One

CVE-2025-23207Same product: Katex Katex
CVE-2024-28246Same product: Katex Katex
CVE-2024-28243Same product: Katex Katex
CVE-2024-28244Same product: Katex Katex
CVE-2024-42332Shared CWE-116
CVE-2024-46547Shared CWE-116
CVE-2026-44913Shared CWE-116
CVE-2024-38475Shared CWE-116
CVE-2024-9427Shared CWE-116
CVE-2023-40014Shared CWE-116

Affected Assets

katex
katex
0.11.0 — 0.16.10

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References