CVE & CISA-KEV Catalog

CVE-2024-28243

MEDIUM
6.5
CVSS v3
NVD

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 `\edef` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. This can be used as an availability attack, where e.g. a client rendering another user's KaTeX input will be unable to use the site due to memory overflow, tying up the main thread, or stack overflow. Upgrade to KaTeX v0.16.10 to remove this vulnerability.

How to fix

Remediation Available
node-katexDebian
Fixed in:0.16.10+~cs6.1.0-1CVE-2024-28243
Fixed in:0.16.10+~cs6.1.0-1CVE-2024-28243
katexUbuntu
Fixed in:0.13.11+~cs6.0.0-2ubuntu0.1~esm1USN-7572-1
Fixed in:0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1USN-7572-1
libjs-katexUbuntu
Fixed in:0.13.11+~cs6.0.0-2ubuntu0.1~esm1USN-7572-1
Fixed in:0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1USN-7572-1
node-katexUbuntu
Fixed in:0.13.11+~cs6.0.0-2ubuntu0.1~esm1USN-7572-1
Fixed in:0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1USN-7572-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

1.41%probability of exploitation in 30 days
70thpercentile

Moderate risk: more likely to be exploited than 70% of all known CVEs.

References

Vendor Advisory1
Other references1

Related Vulnerabilities

Other CWE-674 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-45105Medium5.9100%-Fix
CVE-2024-25111High8.665%-Fix
CVE-2023-50269High8.658%-Fix
CVE-2021-42697High7.536%-Fix
CVE-2018-0739Medium6.519%-Fix
CVE-2007-1285High7.518%-Fix
Embed a live status badge for CVE-2024-28243
CVE-2024-28243 severity badge

Markdown

[![CVE-2024-28243](https://tridentstack.com/cve/badge/CVE-2024-28243.svg)](https://tridentstack.com/cve/CVE-2024-28243)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-28243"><img src="https://tridentstack.com/cve/badge/CVE-2024-28243.svg" alt="CVE-2024-28243"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-05.