CVE-2024-28243

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-28243
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-28243.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-28243
Aliases
Downstream
Published
2024-03-25T19:40:00Z
Modified
2025-10-20T19:34:30Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
KaTeX's maxExpand bypassed by \edef
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-674"
    ]
}
References

Affected packages

Git / github.com/katex/katex

Affected ranges

Type
GIT
Repo
https://github.com/katex/katex
Events