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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gogs | 0.12.7-r0 | ALPINE-CVE-2022-1464 |
| Go | gogs.io/gogs | 0.12.7 | GHSA-ff28-f46g-r9g8 |
| Go | gogs.io/gogs | 0.12.7 | GO-2022-0597 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://huntr.dev/bounties/34a12146-3a5d-4efc-a0f8-7a3ae04b198d x_refsource_CONFIRM
- https://github.com/gogs/gogs/commit/bc77440b301ac8780698be91dff1ac33b7cee850 x_refsource_MISC