{"id":"CVE-2026-103923","title":"KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web","summary":"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…","severity":"low","cvss":2.1,"cvssVector":"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","cwe":["CWE-807","CWE-79"],"vendor":"KaTeX","product":"KaTeX","affected":["KaTeX >= 0.11.0, < 0.18.2"],"patched":["katex 0.18.2"],"published":"2026-10-01","updated":"2026-10-06","sourceUpdated":"2026-10-06T02:17:02.757","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-103923","references":[{"url":"https://github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4","label":"security-advisories@github.com"},{"url":"https://github.com/KaTeX/KaTeX/pull/4260","label":"security-advisories@github.com"},{"url":"https://github.com/KaTeX/KaTeX/releases/tag/v0.18.2","label":"security-advisories@github.com"},{"url":"https://github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7","label":"security-advisories@github.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-103923.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-103923"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2544876"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-103923"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103923"},{"url":"https://github.com/advisories/GHSA-238p-pmpm-9mq7"}],"tags":["nvd","cve.org","csaf","vex","red-hat","ghsa","npm","score-dispute"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-06T01:59:19.477369Z"},"cvssSource":"cna","epss":0.003,"epssPercentile":0.22791,"aliases":["GHSA-238p-pmpm-9mq7"],"ecosystem":"npm","scores":{"cna":2.1,"vendor":4.7},"ingestedAt":"2026-10-01T18:55:42.368Z","slug":"CVE-2026-103923","body":"## Overview\n\nKaTeX 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-103923)\n\nAffected packages:\n\n- `katex >= 0.11.0, < 0.18.2`\n\nPatched in:\n\n- `katex 0.18.2`\n\nSource: https://github.com/advisories/GHSA-238p-pmpm-9mq7\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Build of Podman Desktop, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Dev Spaces · no fix planned: Red Hat Build of Podman Desktop, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Dev Spaces · updated 2026-10-02 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-103923.json)","depth":"sunlit","depthScore":12,"depthScoreParts":{"impact":11.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}