CVE-2021-28378Gitea
Medium 5.4
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 8.8% probability of exploitation in 30 days · percentile 96
- Auth required
- Yes
- Published
- Mar 15, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.
What to do
- Apply the vendor's security update for Gitea.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
< 1.13.4 |
1.13.4 |
go get code.gitea.io/gitea@v1.13.4 |
| Go | code.gitea.io/gitea |
< 1.13.4 |
1.13.4 |
go get code.gitea.io/gitea@v1.13.4 |
Per OSV / GitHub Advisories (GHSA-g95p-88p4-76cm, GO-2022-0832). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | ≥ 1.12.0 ≤ 1.12.6 |
| gitea | gitea | ≥ 1.13.0 < 1.13.4 |
Official sources
References
Links published by the sources. Open them with care.
- blog.gitea.io Release Notes Vendor Advisory
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory