SecurityContext

CVE-2026-103923: KaTeX - Cross-Site Scripting

  • Cve: CVE-2026-103923
  • Name: KaTeX - Cross-Site Scripting
  • 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.
  • Impact: Attackers can execute cross-site scripting via crafted math expressions, leading to user interaction compromise or loading malicious external resources.
  • Remediation: Update to version 0.18.2 or later.
  • Vulnerability type: prototype_pollution
  • Vulnerability impact: client_script_exec
  • Requirements: Attacker must control or pollute the options object's prototype
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.1
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.003
  • Epss percentile: 0.22801
  • Assignee: [email protected]
  • Published at: 2026-10-01T18:17:13Z
  • Age in days: 54
  • Modified at: 2026-10-06T02:17:02Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-103923
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-807Reliance on Untrusted Inputs in a Security Decision

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/KaTeX/KaTeX/commit/0adf7e77db6915d991803b29699f82b1ccf8d4f4
https://github.com/KaTeX/KaTeX/pull/4260
https://github.com/KaTeX/KaTeX/releases/tag/v0.18.2
https://github.com/KaTeX/KaTeX/security/advisories/GHSA-238p-pmpm-9mq7

Products

ProductAffectedPlatform boundSourcesUrl
katex:katex>= 0.11.0, < 0.18.2nocna_alias_text/v1/products/katex/katex

Projects

RepositoryLink kindsIndexedUrl
KaTeX/KaTeXcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/KaTeX/KaTeX

Index

  • Repositories: 819
  • Repositories high signal: 553
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts