CVE-2026-103923

published 1 Oct 2026 · updated 6 Oct 2026

KaTeX: Existing prototype pollution can bypass trust restrictions

2.1LowCVSS 2.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
KaTeX>=0.11.0 <0.18.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-103923 severity on Zeptric[![CVE-2026-103923](https://zeptric.io/badge/cve/CVE-2026-103923.svg)](https://zeptric.io/cve/CVE-2026-103923)