Skip to main content
VulnerabilityPublished

CVE-2026-40302: openziti zrok · Cross-site Scripting

Affects openziti zrokSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
openzitizrokAffected
  • <2.0.1
Fixed in
  • 2.0.1
Gogithub.com/openziti/zrokpkg:golang/github.com/openziti/zrokOther threatsAffected
  • <2.0.1
Fixed in
  • 2.0.1

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.

References

Community reviews

Loading reviews…