8.8

CVE-2021-45326: gitea Cross-Site Request Forgery (CSRF)

CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2021-45326GHSA-4wp3-8q92-mh8wBIT-gitea-2021-45326
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.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 08-02-2022
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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 versions

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 score
0.58%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • golang-code.gitea-gitAll versions (No fix recorded)
  • golang-code.gitea-sdkAll versions (No fix recorded)
Gitea1 product
Github.com/go-gitea1 product
  • gitea< 1.5.2

3 vendors · 4 products

References

9 links