# CVE-2021-45329: Cross-site Scripting in Gitea

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2022-02-08T22:26:52.000Z
- Modified: 2026-09-08T08:47:33.606Z
- Also known as: GHSA-r3gq-wxqf-q4gh, BIT-GITEA-2021-45329, GO-2022-0314
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://blog.gitea.io/2018/09/gitea-1.5.1-is-released/> (advisory, release-notes, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/4710> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45329> (advisory, web)
- <https://blog.gitea.io/2018/09/gitea-1.5.1-is-released> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-r3gq-wxqf-q4gh> (advisory)

## Sources

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

---

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