Skip to content
Fencer Vulns
low 3.7

CVE-2021-28378 json

Cross-site Scripting in Gitea

published 2021-03-15 5 y ago modified 2026-09-08 2 mo ago also BIT-gitea-2021-28378 , EUVD-2021-2059 , GHSA-g95p-88p4-76cm , GO-2022-0832

cvss
3.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
8.8%
EPSS 8.8% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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

Patch / fix

  • go code.gitea.io/gitea 1.13.4
  • bitnami gitea 1.12.7, 1.13.4
  • gitea gitea 1.13.4
  • gitea Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.13.4-r0

alpine advisories ALPINE-CVE-2021-28378

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gitea Arch Linux 1.13.4-1

arch linux advisories AVG-1689

Exploit prediction

8.76% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/PandatiX/CVE-2021-28378 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 3.7 CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CNA 3.1 3.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
OSV 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
go code.gitea.io/gitea
<1.13.4
1.13.4
bitnami gitea
>=1.12.0, <1.12.7
>=1.13.0, <1.13.4
1.12.7
1.13.4

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.