{"id":"EUVD-2024-0906","revision":"c56bfdbad6ea41ebb5c60a09e8747a0d","records":[{"revision":"c56bfdbad6ea41ebb5c60a09e8747a0d","observedAt":"2026-10-31T21:07:36.715+00:00","statement":{"source":"euvd","id":"EUVD-2024-0906","aliases":["CVE-2024-28244","GHSA-cvr6-37gx-v8wc"],"title":"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 `maxE…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":null}],"references":["https://github.com/KaTeX/KaTeX/security/advisories/GHSA-cvr6-37gx-v8wc","https://github.com/KaTeX/KaTeX/commit/085e21b5da05414efefa932570e7201a7c70e5b2"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0906","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 25, 2024, 7:45:50 PM","dateUpdated":"Aug 2, 2024, 12:48:49 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0906","identifiers":["EUVD-2024-0906","CVE-2024-28244","GHSA-cvr6-37gx-v8wc"]},"retained":false,"historicalAffected":[]}],"coverage":[]}