Low severity · published Oct 1, 2026
CVE-2026-103923
KaTeX: Existing prototype pollution can bypass trust restrictions
2.1
CVSS
0.3%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KA
KaTeX · KaTeX
>= 0.11.0, < 0.18.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-103923
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-103923
x_refsource_CONFIRM
https://github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7
x_refsource_MISC
https://github.com/KaTeX/KaTeX/pull/4260
x_refsource_MISC
https://github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4
x_refsource_MISC
https://github.com/KaTeX/KaTeX/releases/tag/v0.18.2
More from KaTeX
7.2
CVE-2025-23207
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web
6.5
CVE-2024-28244
KaTeX is a JavaScript library for TeX math rendering on the web
6.5
CVE-2024-28243
KaTeX is a JavaScript library for TeX math rendering on the web
6.1
CVE-2024-28245
KaTeX is a JavaScript library for TeX math rendering on the web
5.4
CVE-2024-28246
KaTeX is a JavaScript library for TeX math rendering on the web
