Every CVE Search/ Get API key

CVE-2021-45328

Open redirect in Gitea

6.1 MediumFix available

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

1.01%Up 0.1 points since Feb 9, 2022
90%50%10%1%

What each source reports

NVD Score used 6.1

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
CVE-2021-45328
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:N
Weakness
CWE-601
Updated
2026-11-02
CVE List No score

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
CVE-2021-45328
Updated
2026-11-02
EUVDEUVD-2022-0778 No score

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
EUVD-2022-0778
Updated
2026-11-03
GitHub AdvisoriesGHSA-36h2-95gj-w488 6.1

Open redirect in Gitea

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
GHSA-36h2-95gj-w488
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-601
Updated
2026-11-02
OSV 6.1

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
CVE-2021-45328
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-36h2-95gj-w488 6.1

Open redirect in Gitea

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
GHSA-36h2-95gj-w488
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-601
Updated
2026-11-02
OSVUBUNTU-CVE-2021-45328 6.1

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
UBUNTU-CVE-2021-45328
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVBIT-gitea-2021-45328 No score

Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.

Record
BIT-gitea-2021-45328
Updated
2026-11-02
OSVGO-2022-0579 No score

Open redirect in Gitea in github.com/go-gitea/gitea

Open redirect in Gitea in github.com/go-gitea/gitea

Record
GO-2022-0579
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/go-gitea/gitea
Go
before 1.4.3
1.4.3
gitea
Bitnami
before 1.4.3
1.4.3
golang-code.gitea-git
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20170710.0.fc63966-10.0~git20170919.0.cdb43f0-10.0~git20171222.4ec3654-10.0~git20171222.4ec3654-3
None known
golang-code.gitea-sdk
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20170708.0.9990008-10.0~git20170920.0.60c6048-10.0~git20171220.79eee8f-10.0~git20171220.79eee8f-3
None known
golang-code.gitea-git
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20171222.4ec3654-3
None known
golang-code.gitea-sdk
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20171220.79eee8f-3
None known
golang-code.gitea-git
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20190411.63b74d4+ds-1
None known
golang-code.gitea-sdk
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20171220.79eee8f-3
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
NucleiGitea < 1.4.3 - Open Redirect

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-45328 is a medium vulnerability (CVSS 6.1) in Gitea, published February 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.01%, the 63rd percentile. Fixed in github.com/go-gitea/gitea 1.4.3.

References

MoveEnter Open