Medium
Security advisory
Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-28378
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:13 UTC · Revision 1
Source evidence
Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.
osv:CVE-2021-28378
Complete source record
{
"id": "a2747bca3b59c5d0011870058cc7a00dbdd80e0e74182525f559d4e59141db1a",
"url": "https://osv.dev/vulnerability/CVE-2021-28378",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-28378",
"summary": "Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.",
"evidence": "osv:CVE-2021-28378",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-28378",
"aliases": [
"BIT-gitea-2021-28378",
"CVE-2021-28378",
"GHSA-g95p-88p4-76cm",
"GO-2022-0832"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/go-gitea/gitea",
"type": "GIT",
"events": [
{
"introduced": "d6657644a96417d2e771a2891a54e99e686be0a3"
},
{
"last_affected": "53b89c34742855e0c5a7f989d6506f02791678af"
},
{
"introduced": "03b7e11bd6125d4128cf99bc408723d1548f0613"
},
{
"fixed": "75496b9ff507ca5e9b7665f888f1156485e6532d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.12.0"
},
{
"last_affected": "1.12.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.13.0"
},
{
"fixed": "1.13.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0",
"v1.12.6",
"v1.13.0-rc2",
"v1.13.0-rc1",
"v1.12.5",
"v1.12.4",
"v1.12.3",
"v1.12.2",
"v1.12.1",
"v1.12.0",
"v1.12.0-rc2",
"v1.12.0-rc1",
"v1.13.0-dev",
"v1.12.0-dev"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28378.json"
}
}
],
"modified": "2026-10-27T02:45:04.930205818Z",
"provider": "osv",
"references": [
"https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/",
"https://github.com/go-gitea/gitea/pull/14898",
"https://github.com/PandatiX/CVE-2021-28378"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"vendor_product": "gitea:gitea",
"extracted_events": [
{
"range": [
{
"introduced": "1.12.0"
},
{
"last_affected": "1.12.6"
},
{
"introduced": "1.13.0"
},
{
"fixed": "1.13.4"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-28378",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 460090,
"published_at": "2021-03-15T06:15:12.423+00:00"
}