CVE-2026-26022: Gogs: Stored XSS via data URI in issue comments
Vulnerability summary
CVE-2026-26022 is a high (CVSS 8.7) vulnerability in gogs. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 29.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 05-03-2026PublishedVulnerability first disclosed.
- 10-03-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated8.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
Decrease -0.08 pp
From 0.44% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGogs
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Gogs1 product
- gogs< 0.14.2
Gogs.io1 product
- gogs< 0.14.2 | All versions (No fix recorded)
2 vendors · 2 products
References
6 links- github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8jX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/gogs/gogsPACKAGE