{"id":"CVE-2024-6886","aliases":["CVE-2024-6886","GHSA-4h4p-553m-46qh","GO-2024-3056"],"related":["CGA-9p39-j825-9pmx"],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Vulnerabilidad de neutralización inadecuada de la entrada durante la generación de páginas web (XSS o 'Cross-site Scripting') en Gitea Gitea Open Source Git Server permite XSS almacenado. Este problema afecta a Gitea Open Source Git Server: 1.22.0.","source":"nvd"}],"published":"2024-08-06T03:23:21.692Z","modified":"2026-09-10T03:50:18.079Z","severity":{"scorer":"Gitea","scheme":"CVSS: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","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"Gitea","scheme":"CVSS: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","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS: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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","version":"1.22.0","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","repo":"https://github.com/go-gitea/gitea/","source":"cvelist"},{"ranges":[{"version":"1.22.0","status":"affected"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:1.22.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.22.1"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.22.1"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/31200","tags":["web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://blog.gitea.com/release-of-1.22.1/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6886","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.22.1","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3056","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4h4p-553m-46qh","tags":["advisory"],"sources":["go"]}],"credits":["Catalin Iovita (https://github.com/catalin-iovita)","Alexandru Postolache (https://github.com/alex-postolache)"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-08-06T14:26:58.912Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6886","url":"https://www.cve.org/CVERecord?id=CVE-2024-6886","licence":"CVE Terms of Use","modified":"2024-08-06T14:30:41.836Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4h4p-553m-46qh","url":"https://github.com/advisories/GHSA-4h4p-553m-46qh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:18.079Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3056","url":"https://pkg.go.dev/vuln/GO-2024-3056","licence":"CC-BY-4.0","modified":"2026-02-04T04:16:07.171Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6886","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6886","licence":"Public domain","modified":"2026-06-17T08:18:54.397Z"}],"updatedAt":"2026-11-25T22:58:43.829Z","epss":{"score":0.52752,"percentile":0.9899,"date":"2026-12-01T12:00:22.000Z"}}