{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40302","published":"2026-04-17T21:16:34.997000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79","CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:netfoundry:zrok:*:*:*:*:*:*:*:*","part":"a","vendor":"netfoundry","product":"zrok","version_end_excluding":"2.0.1"}],"cpes_truncated":false,"vendors":["netfoundry"],"products":["netfoundry/zrok"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4fxq-2x3x-6xqx","ecosystem":"Go","name":"github.com/openziti/zrok","purl":"pkg:golang/github.com/openziti/zrok","ranges":[{"introduced":"0","last_affected":"1.1.11"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5118","ecosystem":"Go","name":"github.com/openziti/zrok","purl":"pkg:golang/github.com/openziti/zrok","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4fxq-2x3x-6xqx","ecosystem":"Go","name":"github.com/openziti/zrok/v2","purl":"pkg:golang/github.com/openziti/zrok/v2","ranges":[{"introduced":"0","fixed":"2.0.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5118","ecosystem":"Go","name":"github.com/openziti/zrok/v2","purl":"pkg:golang/github.com/openziti/zrok/v2","ranges":[{"introduced":"0","fixed":"2.0.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-40302/","html_en":"/en/cve/CVE-2026-40302/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40302","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40302"},"untrusted":{"vendor_name":"Netfoundry","product_name":"Zrok","desc_en":"zrok is software for sharing web services, files, and network resources. Prior to version 2.0.1, 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. Version 2.0.1 patches the issue.","affected":[{"untrusted_vendor":"openziti","untrusted_product":"zrok","versions":[]}],"references":[{"url":"https://github.com/openziti/zrok/releases/tag/v2.0.1","tags":["Release Notes"]},{"url":"https://github.com/openziti/zrok/security/advisories/GHSA-4fxq-2x3x-6xqx","tags":["Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}