CVE-2021-45329
Cross-site Scripting in Gitea
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
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
What each source reports
NVD Score used
6.1
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
CVE-2021-45329- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
CVE-2021-45329- Updated
- 2026-11-02
EUVDEUVD-2022-1162 No score
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
EUVD-2022-1162- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r3gq-wxqf-q4gh
6.1
Cross-site Scripting in Gitea
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
GHSA-r3gq-wxqf-q4gh- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-45329
6.1
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
ALPINE-CVE-2021-45329- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
OSV
6.1
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
CVE-2021-45329- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-r3gq-wxqf-q4gh
6.1
Cross-site Scripting in Gitea
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
GHSA-r3gq-wxqf-q4gh- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-45329
6.1
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
UBUNTU-CVE-2021-45329- CVSS 3.1
- 6.1 Medium
CVSS: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-45329 No score
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
- Record
BIT-gitea-2021-45329- Updated
- 2026-11-02
OSVGO-2022-0314 No score
Cross-site Scripting in Gitea in github.com/go-gitea/gitea
Cross-site Scripting in Gitea in github.com/go-gitea/gitea
- Record
GO-2022-0314- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/go-gitea/giteaGo |
before 1.5.1 | 1.5.1 |
giteaAlpine:v3.16 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.17 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.18 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.19 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.20 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.21 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.22 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.23 |
before 1.5.1-r0 | 1.5.1-r0 |
giteaAlpine:v3.24 |
before 1.5.1-r0 | 1.5.1-r0 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
giteaBitnami |
before 1.5.1 | 1.5.1 |
golang-code.gitea-gitUbuntu: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-sdkUbuntu: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-gitUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20171222.4ec3654-3 |
None known |
golang-code.gitea-sdkUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20171220.79eee8f-3 |
None known |
golang-code.gitea-gitUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20190411.63b74d4+ds-1 |
None known |
golang-code.gitea-sdkUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20171220.79eee8f-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-45329 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 0.78%, the 56th percentile. Fixed in github.com/go-gitea/gitea 1.5.1.