Description
Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is executed. This bug allow executed any javascript code in victim account .
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gogs | gogs/gogs | unspecified – < 0.12.7 | 0.12.7 |
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.12.7-r0 | — |
| Alpine v3.19 | gogs | 0.12.7-r0 | — |
| Alpine v3.18 | gogs | 0.12.7-r0 | — |
| Alpine v3.17 | gogs | 0.12.7-r0 | — |
| Alpine v3.16 | gogs | 0.12.7-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | gogs.io/gogs | < 0.12.7 | 0.12.7 | GHSA-ff28-f46g-r9g8 |