# CVE-2026-103923: KaTeX: Existing prototype pollution can bypass trust restrictions

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-10-01T17:37:47.953Z
- Modified: 2026-10-06T02:17:02.757Z
- Also known as: GHSA-238p-pmpm-9mq7
- Weaknesses: CWE-807
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- KaTeX KaTeX: >= 0.11.0, < 0.18.2
- katex (npm): from 0.11.0 before 0.18.2

## Every score

- GitHub_M: 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7> (web)
- <https://github.com/KaTeX/KaTeX/pull/4260> (web)
- <https://github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4> (web)
- <https://github.com/KaTeX/KaTeX/releases/tag/v0.18.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-103923> (advisory)
- <https://github.com/KaTeX/KaTeX> (package)

## Sources

- CVE List: [CVE-2026-103923](https://www.cve.org/CVERecord?id=CVE-2026-103923), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-238p-pmpm-9mq7](https://github.com/advisories/GHSA-238p-pmpm-9mq7), CC-BY-4.0, modified 2026-10-06
- NVD: [CVE-2026-103923](https://nvd.nist.gov/vuln/detail/CVE-2026-103923), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-103923 · Whole record: https://cve.day/CVE-2026-103923.json · Rebuilt by cve.day 2026-11-25T22:59:41.864Z
