Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2021-45326 — gitea

🟠 CVSS 8.0 — High ✅ No Known Exploit OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

Affected software

CVE-2021-45326 is recorded against 2 packages.

  • gitea
  • github.com/go-gitea/gitea

Timeline and source

Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

blog.gitea.io (Web)
github.com (Web)
github.com (Web)
nvd.nist.gov (Web)

Other advisories for this package

gitea has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2021-45326 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2024-03-06
Updated 2026-08-20
Modified 2025-04-03
Fix URL N/A

Affected Packages

Software From version Fixed in
gitea
github.com/go-gitea/gitea

Similar Threats

Site Security Check

Is gitea part of your stack?

CVE-2021-45326 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVE