Critical
Inproper Sanitation of field leading to stored XSS
Type: advisorySources: OSV
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-6886
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 12:29 UTC · Revision 1
Source evidence
Inproper Sanitation of field leading to stored XSS
core-osv · Original sourcePublished 6 Aug 2024, 03:23 UTC
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.
osv:CVE-2024-6886
Complete source record
{
"id": "13a1b0dfb090a19728601a92f220b480c3870feccab34bbb48a5c64c6a5ac06e",
"url": "https://osv.dev/vulnerability/CVE-2024-6886",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Inproper Sanitation of field leading to stored XSS",
"summary": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.",
"evidence": "osv:CVE-2024-6886",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-6886",
"aliases": [
"CVE-2024-6886",
"GHSA-4h4p-553m-46qh",
"GO-2024-3056"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/go-gitea/gitea",
"type": "GIT",
"events": [
{
"introduced": "d7f73a1334ab7a97d4e055b7c58cdd9ac303f77a"
},
{
"last_affected": "d7f73a1334ab7a97d4e055b7c58cdd9ac303f77a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.22.0"
},
{
"last_affected": "1.22.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
}
],
"versions": [
"1.22.0",
"v1.22.0-dev"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6886.json"
}
}
],
"modified": "2026-10-28T02:30:28.544702070Z",
"provider": "osv",
"references": [
"https://github.com/go-gitea/gitea/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6886.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-6886",
"https://github.com/go-gitea/gitea/pull/31200",
"https://blog.gitea.com/release-of-1.22.1/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "Gitea",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6886.json"
}
},
"related_cves": [
{
"value": "CVE-2024-6886",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495399,
"published_at": "2024-08-06T03:23:21.692+00:00"
}