CVE-2021-45329
MEDIUM 6.1CVSS 3.1Cross-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.
- Published
- 8 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-gitea-2021-45329GHSA-r3gq-wxqf-q4ghGO-2022-0314
- Sources
- NVDJSONOSV GHSA-r3gq-wxqf-q4ghJSONOSV GO-2022-0314JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* |
< 1.5.1 | 1.5.1 |
| OSV | Go | github.com/go-gitea/gitea | < 1.5.1 | 1.5.1 |
References
- https://blog.gitea.io/2018/09/gitea-1.5.1-is-released/ · Release Notes, Vendor Advisory, WEB
- https://github.com/go-gitea/gitea/pull/4710 · Patch, Third Party Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2021-45329 · ADVISORY
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-r3gq-wxqf-q4gh · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Feb 2022)