What’s Vulnerable › Vulnerabilities
CVE-2022-0870: Server-Side Request Forgery (SSRF) in gogs/gogs
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-11 · updated 2026-06-17
- Weakness: CWE-918
Description
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
Affected products
- gogs: before 0.12.5 — fixed in 0.12.5
How to fix
Upgrade to a fixed version: gogs 0.12.5. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/commit/91f2cde5e95f146bfe4765e837e7282df6c7cabb
- https://huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531
- https://github.com/gogs/gogs/commit/91f2cde5e95f146bfe4765e837e7282df6c7cabb
- https://huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531
Get alerted when CVE-2022-0870 or the next vulnerability affects your stack