CVEfocus › CVE database › CVE-2026-103923

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

CVSS 2.1 LowEPSS 0.5% (higher than 38% of CVEs)Published 2026-10-01Updated 2026-10-06Assigner: GitHub_M

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.

CWE-807

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-katexFix pendingUBUNTU-CVE-2026-103923
Ubuntu 26.04node-katexUnder investigationUBUNTU-CVE-2026-103923
Ubuntu 24.04node-katexFix pendingUBUNTU-CVE-2026-103923
Ubuntu 22.04node-katexFix pendingUBUNTU-CVE-2026-103923
Ubuntu 20.04node-katexFix pendingUBUNTU-CVE-2026-103923
Ubuntu 18.04node-katexFix pendingUBUNTU-CVE-2026-103923
Debian 14node-katexFixed0.16.10+~cs6.1.0-10DEBIAN-CVE-2026-103923
Debian 13node-katexFix pendingDEBIAN-CVE-2026-103923
Debian 12node-katexFix pendingDEBIAN-CVE-2026-103923
npm librarykatexFixed0.18.2GHSA-238p-pmpm-9mq7

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.