Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-gitea/gitea
  4. ›
  5. CVE-2021-45326

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

February 8, 2022 (updated February 11, 2022)

Cross Site Request Forgery (CSRF) vulnerability exists in Gitea via API routes.This can be dangerous especially with state altering POST requests.

References

  • blog.gitea.io/2018/10/gitea-1.5.2-is-released/
  • github.com/go-gitea/gitea/issues/4838
  • github.com/go-gitea/gitea/pull/4840
  • nvd.nist.gov/vuln/detail/CVE-2021-45326

Code Behaviors & Features

Detect and mitigate CVE-2021-45326 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.2

Fixed versions

  • v1.5.2

Solution

Upgrade to version 1.5.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/go-gitea/gitea/CVE-2021-45326.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.