What’s Vulnerable › Vulnerabilities
CVE-2022-1285: Server-Side Request Forgery (SSRF) in gogs/gogs
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-01 · updated 2026-06-17
- Weakness: CWE-918
Description
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.
Affected products
- gogs: before 0.12.8 — fixed in 0.12.8
How to fix
Upgrade to a fixed version: gogs 0.12.8. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f
- https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d
- https://github.com/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f
- https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d
Get alerted when CVE-2022-1285 or the next vulnerability affects your stack