CVE-2021-28378
MEDIUM 5.4CVSS 3.1Cross-site Scripting in Gitea
Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.
- Published
- 15 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-gitea-2021-28378GHSA-g95p-88p4-76cmGO-2022-0832
- Sources
- NVDJSONOSV GHSA-g95p-88p4-76cmJSONOSV GO-2022-0832JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/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.12.0, <= 1.12.6 | |
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* |
>= 1.13.0, < 1.13.4 | 1.13.4 |
| OSV | Go | code.gitea.io/gitea | < 1.13.4 | 1.13.4 |
References
- https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/ · Release Notes, Vendor Advisory, WEB
- https://github.com/PandatiX/CVE-2021-28378 · Exploit, Third Party Advisory, WEB
- https://github.com/go-gitea/gitea/pull/14898 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-28378 · ADVISORY
- https://github.com/go-gitea/gitea/pull/14899 · WEB
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-g95p-88p4-76cm · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Sep 2021)