Description
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gogs | gogs | v0.6.5 – < unspecified, unspecified – ≤ v0.12.10 | unspecified |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.20 | gogs | 0.13.0-r0 | — |
| Alpine v3.19 | gogs | 0.13.0-r0 | — |
| Alpine v3.18 | gogs | 0.13.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | gogs.io/gogs | >= 0.6.5, <= 0.12.10 | — | GHSA-mcjj-2fvq-mc3r |
| Go | gogs.io/gogs | >= 0.6.5 | — | GO-2022-1060 |