Skip to content
OpenAdvisories
High · 7.3 CVE-2022-1464 EUVD-2022-3755GHSA-ff28-f46g-r9g8GO-2022-0597

Stored xss bug in gogs/gogs

Published May 5, 2022 · Updated Aug 3, 2024 · Assigned by @huntrdev

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.12.7 0.12.7 GHSA-ff28-f46g-r9g8

References