Vulnerability details
CVE-2026-26022
gogs gogs
Gogs: Stored XSS via data URI in issue comments
CVSS 3.1
8.7High
Official 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 scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.7High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| gogs | gogs | < 0.14.2 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j x_refsource_CONFIRM
- https://github.com/gogs/gogs/pull/8174 x_refsource_MISC
- https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291 x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.2 x_refsource_MISC
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-03-05
- Last updated
- 2026-03-10
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.35%
Probability of exploitation in 30 days
29.2%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')