CVE catalog

CVE-2026-103923

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. From 0.11.0 until 0.18.2, KaTeX uses ordinary JavaScript property access for the renderer options object, the trust s

[CVE catalog]

Severity
Medium · CVSS 4.7CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. From 0.11.0 until 0.18.2, KaTeX uses ordinary JavaScript property access for the renderer options object, the trust setting, default and processor setting metadata, and namespace lookup and group restoration, allowing inherited properties to be treated as explicitly supplied values. When Object.prototype is already polluted or an attacker controls the options object's prototype, attacker-controlled mathematical expressions can use an inherited trust value to enable trusted rendering and produce links capable of user-interaction cross-site scripting or loading attacker-selected external resources in a consuming application that inserts unsanitized KaTeX output into a page. KaTeX does not itself create the prototype pollution, and rendering an expression alone does not execute script. This issue is fixed in version 0.18.2.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-katexsid0.16.10+~cs6.1.0-10fixed
Debiannode-katexforky0.16.10+~cs6.1.0-10fixed
Debiannode-katextrixie0.16.10+~cs6.1.0-2vulnerable
Debiannode-katexbookworm0.16.4+~cs6.1.0-1vulnerable
NpmkatexNot reported0.18.2fixed
Opensusepython-jupyterlab-templatestumbleweed0.5.3-3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-katexsourcesid0.16.10+~cs6.1.0-10not yet assignedNot reported[1149653]
Debiannode-katexsourceforky0.16.10+~cs6.1.0-10not yet assignedNot reported[1149653]
Debiannode-katexsourcetrixie(unfixed)not yet assignedNot reported[1149653]
Debiannode-katexsourcebookworm(unfixed)not yet assignedNot reported[1149653]
NpmkatexnpmNot reported0.18.2Not reportedGHSA-238P-PMPM-9MQ7Not reported
Opensusepython-jupyterlab-templatesrpmtumbleweed0.5.3-3.1Not reportedOPENSUSE-SU-2026:12075-1Not reported

[Debian bug #1149653]

Notes

[trixie] node-katex: Minor issue [bookworm] node-katex: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [fonts-katex]Affected

    Source package: [node-katex]

    Details (2)
    • 0.16.4+~cs6.1.0-1 · all · bookworm

      Affected

      nvd · node-katex · debian · bookworm; nvd · node-katex · debian · 12

    • 0.16.4+~cs6.1.0-1 · all · bookworm

      Affected

      nvd · node-katex · debian · bookworm; nvd · node-katex · debian · 12

  • [katex]Affected

    Source package: [node-katex]

    Details (2)
    • 0.16.4+~cs6.1.0-1 · all · bookworm

      Affected

      nvd · node-katex · debian · bookworm; nvd · node-katex · debian · 12

    • 0.16.4+~cs6.1.0-1 · all · bookworm

      Affected

      nvd · node-katex · debian · bookworm; nvd · node-katex · debian · 12

  • [libjs-katex]Affected

    Source package: [node-katex]

    Details (2)
    • 0.16.4+~cs6.1.0-1 · all · bookworm

      Affected

      nvd · node-katex · debian · bookworm; nvd · node-katex · debian · 12

    • 0.16.4+~cs6.1.0-1 · all · bookworm

      Affected

      nvd · node-katex · debian · bookworm; nvd · node-katex · debian · 12

[Debian 13 (Trixie)]

  • [fonts-katex]Affected

    Source package: [node-katex]

    Details (2)
    • 0.16.10+~cs6.1.0-2 · all · trixie

      Affected

      nvd · node-katex · debian · 13

    • 0.16.10+~cs6.1.0-2 · all · trixie

      Affected

      nvd · node-katex · debian · 13

  • [katex]Affected

    Source package: [node-katex]

    Details (2)
    • 0.16.10+~cs6.1.0-2 · all · trixie

      Affected

      nvd · node-katex · debian · 13

    • 0.16.10+~cs6.1.0-2 · all · trixie

      Affected

      nvd · node-katex · debian · 13

  • [libjs-katex]Affected

    Source package: [node-katex]

    Details (2)
    • 0.16.10+~cs6.1.0-2 · all · trixie

      Affected

      nvd · node-katex · debian · 13

    • 0.16.10+~cs6.1.0-2 · all · trixie

      Affected

      nvd · node-katex · debian · 13

[openSUSE Tumbleweed]

Observed:

References