CVE-2026-103923 KaTeX: Existing prototype pollution can bypass trust restrictions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
12 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-katex(Debian 12) | = 0.16.4+~cs6.1.0-1; = 0.16.10+~cs6.1.0-1; = 0.16.10+~cs6.1.0-2; = 0.16.10+~cs6.1.0-3 +8 more | No fix listed | No fix yet |
| debian/node-katex(Debian 13) | = 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 +6 more | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/rh-podman-desktop(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/node-katex(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-katex(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-katex(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-katex(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/node-katex(Debian 14) | < 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 +5 more | 0.16.10+~cs6.1.0-10 | Fixed |
| npm katex(npm) | >= 0.11.0, < 0.18.2 | 0.18.2 | Fixed |
| KaTeX | = >= 0.11.0, < 0.18.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rh-podman-desktop(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| KaTeX | = >= 0.11.0, < 0.18.2 | No fix listed |
| debian/node-katex(Debian:12) | All versions | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-1 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-10 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-2 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-3 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-4 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-5 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-6 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-7 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-8 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.10+~cs6.1.0-9 | No fix listed |
| debian/node-katex(Debian:12) | = 0.16.4+~cs6.1.0-1 | No fix listed |
| debian/node-katex(Debian:13) | All versions | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-10 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-2 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-3 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-4 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-5 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-6 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-7 | No fix listed |
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-8 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-katex(Debian:13) | = 0.16.10+~cs6.1.0-9 | No fix listed |
| debian/node-katex(Debian:14) | < 0.16.10+~cs6.1.0-10 | 0.16.10+~cs6.1.0-10 |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-2 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-3 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-4 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-5 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-6 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-7 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-8 | No fix listed |
| debian/node-katex(Debian:14) | = 0.16.10+~cs6.1.0-9 | No fix listed |
| npm katex(npm) | >= 0.11.0, < 0.18.2 | 0.18.2 |
| ubuntu/node-katex(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-katex(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-katex(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-katex(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2544876 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4 patch
- https://github.com/KaTeX/KaTeX/pull/4260 patch
- https://github.com/KaTeX/KaTeX/releases/tag/v0.18.2
- https://github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7 vendor-advisory
- Debian Security Tracker CVE-2026-103923 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product
- ENISA EUVD EUVD-2026-90979 third-party-advisory