CVE-2024-28244

MediumCVSS 6.5/10Last modified Jun 17, 2026

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 `\def` or `\newcommand` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. KaTeX supports an option named maxExpand which aims to prevent infinitely recursive macros from consuming all available memory and/or triggering a stack overflow error. Unfortunately, support for "Unicode (sub|super)script characters" allows an attacker to bypass this limit. Each sub/superscript group instantiated a separate Parser with its own limit on macro executions, without inheriting the current count of macro executions from its parent. This has been corrected in KaTeX v0.16.10.

Metrics

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

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Mar 25, 2024
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2024

CVE-2024-282456.1KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter mCVE-2024-282465.4KaTeX is a JavaScript library for TeX math rendering on the web. Code that uses KaTeX's `trust` option, specifically that provides a functioCVE-2024-282476.5The Pi-hole is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software. A vulnerability CVE-2024-282487.2Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Starting in version 1.13.9 and prior to versions CVE-2024-282496.1Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Prior to versions 1.13.13, 1.14.8, and 1.15.2, inCVE-2024-28258.8A vulnerability classified as critical has been found in lakernote EasyAdmin up to 20240315. This affects an unknown part of the file /urepoCVE-2024-282506.1Cilium is a networking, observability, and security solution with an eBPF-based dataplane. Starting in version 1.14.0 and prior to versions CVE-2024-282517.3Querybook is a Big Data Querying UI, combining collocated table metadata and a simple notebook interface. Querybook's datadocs functionalityCVE-2024-282527.5CoreWCF is a port of the service side of Windows Communication Foundation (WCF) to .NET Core. If you have a NetFraming based CoreWCF serviceCVE-2024-282538.8OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, CVE-2024-282548.8OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, CVE-2024-282559.8OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage,
CVE-2024-28244: Medium severity, CVSS 6.5 | Vulnix