# CVE-2021-45325: Gitea displaying raw OpenID error in UI

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2022-02-08T14:36:14.000Z
- Modified: 2026-09-08T08:47:32.737Z
- Also known as: GHSA-8h8p-x289-vvqr, BIT-GITEA-2021-45325, GO-2022-0308
- Weaknesses: CWE-918
- Assigned by: mitre

## Description

Server Side Request Forgery (SSRF) vulneraility exists in Gitea before 1.7.0 using the OpenID URL.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/go-gitea/gitea (Go): before 1.7.0
- gitea gitea: before 1.7.0
- gitea (Bitnami): before 1.7.0

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://blog.gitea.io/2019/01/gitea-1.7.0-is-released/> (advisory, release-notes, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/5705> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45325> (advisory, web)
- <https://github.com/go-gitea/gitea/issues/4973> (web)
- <https://github.com/go-gitea/gitea/pull/5712> (fix, web)
- <https://blog.gitea.io/2019/01/gitea-1.7.0-is-released> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-8h8p-x289-vvqr> (advisory)

## Sources

- CVE List: [CVE-2021-45325](https://www.cve.org/CVERecord?id=CVE-2021-45325), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-8h8p-x289-vvqr](https://github.com/advisories/GHSA-8h8p-x289-vvqr), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0308](https://pkg.go.dev/vuln/GO-2022-0308), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-45325](https://nvd.nist.gov/vuln/detail/CVE-2021-45325), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2021-45325](https://osv.dev/vulnerability/BIT-GITEA-2021-45325), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-45325 · Whole record: https://cve.day/CVE-2021-45325.json · Rebuilt by cve.day 2026-11-25T22:58:06.793Z
