CVE-2021-45326: gitea Cross-Site Request Forgery (CSRF)
CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2021-45326GHSA-4wp3-8q92-mh8wBIT-gitea-2021-45326GO-2022-0309
Published 08-02-2022Last modified 04-08-2024
Vulnerability summary
CVE-2021-45326 is a high (CVSS 8.8) Cross-Site Request Forgery (CSRF) vulnerability in gitea. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.7% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 08-02-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.58% on 22-09-2026
22-09-202622-10-2026
EPSS score0.58%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- golang-code.gitea-gitAll versions (No fix recorded)
- golang-code.gitea-sdkAll versions (No fix recorded)
Gitea1 product
- gitea< 1.5.2
Github.com/go-gitea1 product
- gitea< 1.5.2
3 vendors · 4 products
References
9 links- github.com/go-gitea/giteaPACKAGE