What’s Vulnerable › Vulnerabilities
CVE-2026-26195: Gogs: Stored XSS in branch and wiki views through author and committer names
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-05 · updated 2026-06-17
- Weakness: CWE-79
Description
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, stored xss is still possible through unsafe template rendering that mixes user input with safe plus permissive sanitizer handling of data urls. This issue has been patched in version 0.14.2.
Affected products
- gogs: before 0.14.2 — fixed in 0.14.2
How to fix
Upgrade to a fixed version: gogs 0.14.2. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/ac21150a53bef3a3061f4da787ab193a8d68ecfc
- https://github.com/gogs/gogs/pull/8176
- https://github.com/gogs/gogs/releases/tag/v0.14.2
- https://github.com/gogs/gogs/security/advisories/GHSA-vgvf-m4fw-938j
Get alerted when CVE-2026-26195 or the next vulnerability affects your stack