cve.bz

CVE-2026-103923 katex katex

2.1 lowEPSS 0.3%Fix available

Low (2.1) in katex katex. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in katex 0.18.2.

On this page
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.

Severity

CVSS 4.0

2.1 low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-807 Reliance on Untrusted Inputs in a Security Decision
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-103923 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-103923?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-103923?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-103923 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
KaTeX>= 0.11.0, < 0.18.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-238p-pmpm-9mq7npmkatex>=0.11.0 <0.18.20.18.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-katexno fix listedDEBIAN-CVE-2026-103923
Debian14node-katex0.16.10+~cs6.1.0-10DEBIAN-CVE-2026-103923
Ubuntu18.04:LTS, 20.04:LTS, 26.04:LTS and 3 morenode-katexno fix listedUBUNTU-CVE-2026-103923
openSUSETumbleweedpython-jupyterlab-templates0.5.3-3.1openSUSE-SU-2026:12075-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw of moderate impact was found in KaTeX, a JavaScript library for rendering TeX math in web pages that is bundled in Red Hat products including Red Hat OpenShift AI, Red Hat OpenShift Dev Spaces, and Red Hat Build of Podman Desktop, as well as in Fedora and EPEL community packages. KaTeX uses ordinary JavaScript property access for renderer options, 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 prototype of the renderer options object, a remote attacker submitting crafted mathematical expressions can use an inherited trust value to enable trusted rendering and produce links capable of user-interaction cross-site scripting or loading of attacker-selected external resources in a consuming application that inserts unsanitized KaTeX output into a page. KaTeX does not itself create the prototype pollution: exploitation requires a separate prototype-pollution flaw or attacker control of the options object's prototype, rendering an expression alone does not execute script, and user interaction is required. Red Hat rates this flaw MODERATE with a CVSS 3.1 score of 4.7, while the upstream record assigns a CVSS 4.0 score of 2.1 (LOW); the difference stems from the different CVSS versions used and their assessment of the required attack prerequisites and user interaction. For the affected Red Hat OpenShift AI, Red Hat OpenShift Dev Spaces, and Red Hat Build of Podman Desktop components the fix is deferred because the severity is MODERATE with a CVSS score below 7.0 and no trackers are filed for such flaws; the residual risk is limited to cross-site scripting or external resource loading through user interaction in deployments that also contain a prototype-pollution flaw or attacker-controlled renderer options and that render untrusted input without sanitization. The Fedora and EPEL community affects are delegated, with the impact described above and the fix pursued by the respective community maintainers. The Red Hat Hardened Images stream is delegated with a not-affected determination because the component is not present in that product.

Red Hat's mitigation

Upstream fixed this issue in KaTeX 0.18.2, so upgrading bundled katex packages to a version that includes this fix resolves the vulnerability. Until an update can be applied, the workarounds published in the upstream advisory reduce the risk: address any prototype-pollution vulnerability in the application or its dependencies; do not allow untrusted input to control the renderer options object or its prototype; sanitize KaTeX-generated HTML before inserting it into a document; and, as a targeted measure, delete Object.prototype.trust, Object.prototype.default, and Object.prototype.processor before calling KaTeX.

ProductPackageStateAdvisory
Red Hat Build of Podman Desktoprh-podman-desktopFix deferred
Red Hat Hardened ImagesopenshellNot affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-103923.

References

Check your stackJSON