{
  "cveId": "CVE-2024-28244",
  "url": "https://patchblox.com/security/cve/CVE-2024-28244",
  "summary": "CVE-2024-28244 is fixed in node-katex on 1 platform, first by DEBIAN-CVE-2024-28244, released March 25, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "node-katex: KaTeX is a JavaScript library for TeX math rendering on the web",
  "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 \u0060\\def\u0060 or \u0060\\newcommand\u0060 that causes a near-infinite loop, despite setting \u0060maxExpand\u0060 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 \u0022Unicode (sub|super)script characters\u0022 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.",
  "published": "2024-03-25T20:15:08Z",
  "severity": "medium",
  "cvss": 6.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.02155,
  "epssPercentile": 0.82275,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "node-katex",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "0.16.10\u002B~cs6.1.0-1",
      "fix": "DEBIAN-CVE-2024-28244",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-28244",
      "released": "2024-03-25T20:15:08Z"
    },
    {
      "platform": "linux",
      "product": "node-katex",
      "release": "Debian 14",
      "fixedVersion": "0.16.10\u002B~cs6.1.0-1",
      "fix": "DEBIAN-CVE-2024-28244",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-28244",
      "released": "2024-03-25T20:15:08Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}