Vulnerability · Published May 5, 2022 · Assigned by @huntrdev

CVE-2022-1464Stored xss bug in gogs/gogs

High 7.3

In plain English

A high-severity cross-site scripting in gogs/gogs from gogs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.3High
Exploit odds (30 days)0.7%top 45.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20gogs0.12.7-r0ALPINE-CVE-2022-1464
Gogogs.io/gogs0.12.7GHSA-ff28-f46g-r9g8
Gogogs.io/gogs0.12.7GO-2022-0597

Affected products (as reported)

VendorProductVersions
gogs gogs/gogs unspecified – before 0.12.7

Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References