p PatchFirst

CVE-2026-103923

CVE-2026-103923 · KaTeX: Existing prototype pollution can bypass trust restrictions

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 2.1 · Low · EPSS 0.3% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • katex

    Versions
    • >= 0.11.0, < 0.18.2: Affected

    No fix published

  • node-katex Debian:12

    Versions
    • 0.16.10+~cs6.1.0-1
    • 0.16.10+~cs6.1.0-10
    • 0.16.10+~cs6.1.0-2
    • 0.16.10+~cs6.1.0-3
    • 0.16.10+~cs6.1.0-4
    • 0.16.10+~cs6.1.0-5
    • 0.16.10+~cs6.1.0-6
    • 0.16.10+~cs6.1.0-7
    • 0.16.10+~cs6.1.0-8
    • 0.16.10+~cs6.1.0-9
    • 0.16.4+~cs6.1.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Debian:13

    Versions
    • 0.16.10+~cs6.1.0-10
    • 0.16.10+~cs6.1.0-2
    • 0.16.10+~cs6.1.0-3
    • 0.16.10+~cs6.1.0-4
    • 0.16.10+~cs6.1.0-5
    • 0.16.10+~cs6.1.0-6
    • 0.16.10+~cs6.1.0-7
    • 0.16.10+~cs6.1.0-8
    • 0.16.10+~cs6.1.0-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Debian:14

    Versions
    • 0.16.10+~cs6.1.0-2
    • 0.16.10+~cs6.1.0-3
    • 0.16.10+~cs6.1.0-4
    • 0.16.10+~cs6.1.0-5
    • 0.16.10+~cs6.1.0-6
    • 0.16.10+~cs6.1.0-7
    • 0.16.10+~cs6.1.0-8
    • 0.16.10+~cs6.1.0-9
    Affected ranges
    • ECOSYSTEM: < 0.16.10+~cs6.1.0-10

    Update to 0.16.10+~cs6.1.0-10

  • katex npm

    Affected ranges
    • SEMVER: ≥ 0.11.0, < 0.18.2

    Update to 0.18.2

  • node-katex Ubuntu:18.04:LTS

    Versions
    • 0.8.3+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Ubuntu:20.04:LTS

    Versions
    • 0.8.3+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Ubuntu:Pro:22.04:LTS

    Versions
    • 0.10.2+dfsg-8
    • 0.10.2+dfsg-9
    • 0.10.2+dfsg-10
    • 0.13.11+~cs6.0.0-2
    • 0.13.11+~cs6.0.0-2ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Ubuntu:Pro:24.04:LTS

    Versions
    • 0.16.4+~cs6.1.0-1
    • 0.16.10+~cs6.1.0-2
    • 0.16.10+~cs6.1.0-2ubuntu0.24.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Ubuntu:26.10

    Versions
    • 0.16.10+~cs6.1.0-5ubuntu1
    • 0.16.10+~cs6.1.0-7
    • 0.16.10+~cs6.1.0-7build1
    • 0.16.10+~cs6.1.0-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-katex Ubuntu:26.04:LTS

    Versions
    • 0.16.10+~cs6.1.0-2ubuntu1
    • 0.16.10+~cs6.1.0-5ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →