Node katex: From 0.11.0 until 0.18.2, KaTeX uses ordinary JavaScript property access for the renderer options object
Affects node-katexSource GCVE Database
Not known to be exploited · CVSS 2.1 Low · fixed in 0.18.2 : update node-katex when convenient.
Data as of 24 Nov 2026, 22:28 UTC
- Patch
- Available – fixed in 0.18.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-katexpkg:deb/ubuntu/node-katex?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSnode-katexpkg:deb/ubuntu/node-katex?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-103923 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-103923 (opens in a new tab)
- github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7 (opens in a new tab)
- github.com/KaTeX/KaTeX/pull/4260 (opens in a new tab)
- github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4 (opens in a new tab)
- github.com/KaTeX/KaTeX/releases/tag/v0.18.2 (opens in a new tab)