Security mailing lists by PureSourceCode

CVE-2021-45326

HIGH 8.8CVSS 3.1

Cross Site Request Forgery in Gitea

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.

Published
8 Feb 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-352
Also known as
BIT-gitea-2021-45326GHSA-4wp3-8q92-mh8wGO-2022-0309
Sources
NVDJSONOSV GHSA-4wp3-8q92-mh8wJSONOSV GO-2022-0309JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitea gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
< 1.5.2 1.5.2
OSV Go github.com/go-gitea/gitea < 1.5.2 1.5.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Feb 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.