# CVE-2021-45325: GO-2022-0308 - Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea

Source: https://junglewise.ai/threats/cve-2021-45325-gitea-displaying-raw-openid-error-in-ui  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2021-45325 · Severity: low · CVSS 3.1 · Published 2024-08-21

Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea

Technologies: [github.com/go-gitea/gitea (Go)](https://junglewise.ai/threats/technologies/github-com-go-gitea-gitea). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2021-45325 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-45325 being exploited in the wild.

**How severe is CVE-2021-45325?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/go-gitea/gitea (Go) SEMVER:introduced=0,fixed=1.7.0.

**Is there a fix for CVE-2021-45325?** Yes. github.com/go-gitea/gitea (Go): upgrade to 1.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-45325?** Check whether you run github.com/go-gitea/gitea (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/go-gitea/gitea (Go): upgrade to 1.7.0 or later

  ```sh
  go get github.com/go-gitea/gitea@v1.7.0
  ```


## Affected products

- github.com/go-gitea/gitea (Go) SEMVER:introduced=0,fixed=1.7.0

## Identifiers

- CVE-2021-45325
- GHSA-8h8p-x289-vvqr
- GO-2022-0308

## Related threats

- [Gitea open redirect via backslash-encoded paths in redirect_to parameter](https://junglewise.ai/threats/cve-2026-25779-gitea-open-redirect-via-backslash-encoded-paths-in-redirect-to)
- [GO-2026-4362 - Gitea improperly exposes issue and pull request titles in code.gitea.io/gitea](https://junglewise.ai/threats/cve-2026-20800-gitea-improperly-exposes-issue-and-pull-request-titles)
- [GO-2026-4369 - Gitea does not properly validate ownership when toggling OpenID URI visibility in code.gitea.io/gitea](https://junglewise.ai/threats/cve-2026-20904-gitea-does-not-properly-validate-ownership-when-toggling-openid)
- [Gitea improperly exposes issue titles and repository names through previously started stopwatches](https://junglewise.ai/threats/cve-2026-20883-gitea-improperly-exposes-issue-titles-and-repository-names)
- [Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface](https://junglewise.ai/threats/cve-2026-20888-gitea-does-not-properly-verify-authorization-when-canceling)
