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

- Severity: Low 3.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R`
- 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): 8.76%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-15T05:20:50.000Z
- Modified: 2026-09-08T08:47:33.134Z
- Also known as: GHSA-g95p-88p4-76cm, BIT-GITEA-2021-28378, GO-2022-0832
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- code.gitea.io/gitea (Go): before 1.13.4
- gitea gitea: from 1.12.0 up to 1.12.6; from 1.13.0 before 1.13.4
- gitea (Bitnami): from 1.12.0 before 1.12.7; from 1.13.0 before 1.13.4

## Every score

- mitre: CVSS:3.1 3.7 Low `CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/PandatiX/CVE-2021-28378> (exploit, advisory, third-party-advisory, web)
- <https://github.com/go-gitea/gitea/pull/14898> (advisory, patch, third-party-advisory, web)
- <https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/> (advisory, release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28378> (advisory, web)
- <https://github.com/go-gitea/gitea/pull/14899> (web)
- <https://blog.gitea.io/2021/03/gitea-1.13.4-is-released> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-g95p-88p4-76cm> (advisory)

## Sources

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

---

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