CVE-2026-40302: openziti zrok · Cross-site Scripting
Affects openziti zrokSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium : upgrade to 2.0.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade zrok and github.com/openziti/zrok to 2.0.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| openzitizrok | Affected
| Fixed in
|
Gogithub.com/openziti/zrokpkg:golang/github.com/openziti/zrokOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade openziti zrok to version 2.0.1 or later, where the vulnerability is patched by switching to the html/template engine that performs proper HTML escaping. No other mitigation is indicated or required as the fix is available in the official release.
Description
CVE-2026-40302 is a cross-site scripting (XSS) vulnerability in openziti zrok versions prior to 2.0.1. The issue arises because the proxyUi template engine uses Go's text/template, which does not perform HTML escaping, instead of html/template. Specifically, the GitHub OAuth callback handlers embed the attacker-controlled refreshInterval query parameter directly into an error message that is rendered unescaped in HTML. This allows an attacker to craft a login URL that, after the victim completes the OAuth flow, causes arbitrary JavaScript execution in the OAuth server's origin. Version 2.0.1 addresses this vulnerability.