CVE-2026-26022: Gogs is an open source self-hosted Git service
CVE-2026-26022 is a high-severity flaw (CVSS 8.7) affecting gogs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: URI schemes, enabling authenticated users to inject arbitrary JavaScript execution via malicious links. This issue has been patched in version 0.14.2.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.7 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-03-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-26022?
gogs: upgrade to 0.14.2. Exact commands for each OS are on this page.
Is CVE-2026-26022 being exploited?
CVE-2026-26022 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-26022 affect?
CVE-2026-26022 affects gogs. Severity is high (CVSS 8.7). Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: U
How urgent is CVE-2026-26022?
Priority 42/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2025-8110 HIGH 8.8 EXPLOITED UPGRADE Gogs Path Traversal Vulnerability
- CVE-2026-26276 HIGH 7.3 UPGRADE Gogs is an open source self-hosted Git service
- CVE-2026-26196 MEDIUM 5.3 UPGRADE Gogs is an open source self-hosted Git service
- CVE-2026-26195 MEDIUM 6.1 UPGRADE Gogs is an open source self-hosted Git service
- CVE-2026-26194 HIGH 7.3 UPGRADE Gogs is an open source self-hosted Git service