github.com/openziti/zrok
Affected
- introduced
0, last affected1.1.11(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: CVE-2026-40302, GO-2026-5118
zrok: Reflected XSS in GitHub OAuth callback via unsanitized refreshInterval error rendering
Summary
The proxyUi template engine uses Go's text/template (which performs no HTML escaping) instead of html/template. The GitHub OAuth callback handlers in both publicProxy and dynamicProxy embed the attacker-controlled refreshInterval query parameter verbatim into an error message when time.ParseDuration fails, and render that error unescaped into HTML. An attacker can deliver a crafted login URL to a victim; after the victim completes the GitHub OAuth flow, the callback page executes arbitrary JavaScript in the OAuth server's origin.
Affected Components
Medium Basis: The source's own band: MODERATE
0, last affected 1.1.11 (semver)None listed
No fixed version is listed.
0, fixed 2.0.1 (semver)2.0.1
2.0.1go get github.com/openziti/zrok/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0