{"id":"CVE-2024-6886","published":"2024-08-06T03:23:21Z","modified":"2024-08-06T14:30:41Z","title":"Inproper Sanitation of field leading to stored XSS","vendor":"Gitea","product":"Gitea Open Source Git Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06252,"percentile":0.9434,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/31200","tags":[]},{"url":"https://blog.gitea.com/release-of-1.22.1/","tags":[]}],"priority":{"score":30.9,"factors":[{"name":"EPSS percentile","points":18.87},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2024-08-28"},"nuclei":[{"id":"CVE-2024-6886","name":"Gitea 1.22.0 - Cross-Site Scripting","severity":"medium","path":"http/cves/2024/CVE-2024-6886.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6886.yaml"}],"first":{"date":"2024-08-28","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52077"},"provenance":"source"},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","versions":["1.22.0"]}],"capec":[{"id":"CAPEC-592","name":"Stored XSS"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-06T14:26:58.912514Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.22.1"],"patched":["1.22.1"],"from":["GHSA-4h4p-553m-46qh","GO-2024-3056"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting vulnerability in the Gitea Open Source Git Server product, caused by improper neutralization of input during web page generation. An attacker with network access can inject script content that is stored and later rendered to users, with no authentication or user interaction required according to the vector.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:18Z"},"euvd":{"id":"EUVD-2024-2490","exploited":false,"provenance":"source"},"exploits":[{"id":52077,"url":"https://www.exploit-db.com/exploits/52077","title":"Gitea 1.22.0 - 'Description' Authenticated Stored Cross-Site Scripting (XSS)","date":"2024-08-28","verified":false,"provenance":"source"}],"lineage":{"packageHistory":[{"cve":"CVE-2025-68946","published":"2025-12-26","fixed":"1.20.1","kev":false},{"cve":"CVE-2025-68945","published":"2025-12-26","fixed":"1.21.2","kev":false},{"cve":"CVE-2025-68943","published":"2025-12-26","fixed":"1.21.8","kev":false},{"cve":"CVE-2024-6886","published":"2024-08-06","fixed":"1.22.1","kev":false},{"cve":"CVE-2025-68942","published":"2025-12-26","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2024-6886","to":"CVE-2025-68942","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.22.1","toFixed":"1.22.2","daysApart":507}]}},{"cve":"CVE-2025-68944","published":"2025-12-26","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2024-6886","to":"CVE-2025-68944","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.22.1","toFixed":"1.22.2","daysApart":507}]}},{"cve":"CVE-2025-68941","published":"2025-12-26","fixed":"1.22.3","kev":false}],"package":"Go:code.gitea.io/gitea"}}