What’s Vulnerable › Vulnerabilities
CVE-2021-45326
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-08 · updated 2026-06-17
- Weakness: CWE-352
Description
Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API routes.This can be dangerous especially with state altering POST requests.
Affected products
- Gitea Open Source Git Server: before 1.5.2 — fixed in 1.5.2
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.5.2. Check the vendor advisory for mitigations.
References
- https://blog.gitea.io/2018/10/gitea-1.5.2-is-released/
- https://github.com/go-gitea/gitea/issues/4838
- https://github.com/go-gitea/gitea/pull/4840
- https://blog.gitea.io/2018/10/gitea-1.5.2-is-released/
- https://github.com/go-gitea/gitea/issues/4838
- https://github.com/go-gitea/gitea/pull/4840
Get alerted when CVE-2021-45326 or the next vulnerability affects your stack