Skip to content
Fencer Vulns
high 8.8

CVE-2021-45326 json

Cross Site Request Forgery in Gitea

published 2022-02-08 4 y ago modified 2026-09-08 2 mo ago also BIT-gitea-2021-45326 , EUVD-2022-0822 , GHSA-4wp3-8q92-mh8w , GO-2022-0309

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 49%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/go-gitea/gitea 1.5.2
  • bitnami gitea 1.5.2
  • gitea gitea 1.5.2
  • gitea Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.5.2-r0

alpine advisories ALPINE-CVE-2021-45326

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Exploit prediction

0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/go-gitea/gitea
<1.5.2
1.5.2
bitnami gitea
<1.5.2
1.5.2

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.