CVE-2014-8683Gogits Gogs
Medium 4.3 No auth needed
Follow: this CVE · Gogits · Gogits Gogs We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Nov 21, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
Cross-site scripting (XSS) vulnerability in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.8 allows remote attackers to inject arbitrary web script or HTML via the text parameter to api/v1/markdown.
What to do
- Apply the vendor's security update for Gogs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | gogs.io/gogs |
≥ 0.3.1 < 0.5.8 |
0.5.8 |
go get gogs.io/gogs@v0.5.8 |
| Go | gogs.io/gogs |
≥ 0.3.1 < 0.5.8 |
0.5.8 |
go get gogs.io/gogs@v0.5.8 |
Per OSV / GitHub Advisories (GHSA-9hx4-qm7h-x84j, GO-2022-0642). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogits | gogs | ≤ 0.5.5 |
| gogits | gogs | 0.3.1-9 |
| gogits | gogs | 0.4.1 |
| gogits | gogs | 0.4.2 |
| gogits | gogs | 0.5.0 |
| gogits | gogs | 0.5.2 |
Official sources
References
Links published by the sources. Open them with care.