Live threats

All CVEs / Gogs

CVE-2022-1464Gogs

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
Yes
Published
May 5, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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 .

Original NVD text.

What to do

  1. Apply the vendor's security update for Gogs.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go gogs.io/gogs < 0.12.7 0.12.7 go get gogs.io/gogs@v0.12.7
Go gogs.io/gogs < 0.12.7 0.12.7 go get gogs.io/gogs@v0.12.7

Per OSV / GitHub Advisories (GHSA-ff28-f46g-r9g8, GO-2022-0597). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs< 0.12.7

Official sources

References

Links published by the sources. Open them with care.