{"id":"CVE-2025-68942","published":"2025-12-26T02:50:35Z","modified":"2025-12-26T19:30:04Z","title":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text","vendor":"Gitea","product":"Gitea","tier":"tail","description":{"text":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00247,"percentile":0.1636,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://blog.gitea.com/release-of-1.22.2/","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.2","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/31966","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.27},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea","versions":["< 1.22.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-26T19:29:56.320510Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.22.2"],"patched":["1.22.2"],"from":["GHSA-898p-hh3p-hf9r","GO-2025-4263"],"provenance":"source"}],"summary":{"text":"Gitea versions before 1.22.2 contain a cross-site scripting flaw in the search input box used for creating tags and branches, where user-supplied content is rendered as HTML rather than plain text. An attacker with low-privilege authenticated access can inject script that executes in another user's browser, but this requires that user to interact with the crafted content (user interaction is required) and the attack is carried out over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:43Z"},"euvd":{"id":"EUVD-2025-205413","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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,"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-68942","published":"2025-12-26","fixed":"1.22.2","kev":false},{"cve":"CVE-2025-68944","published":"2025-12-26","fixed":"1.22.2","kev":false},{"cve":"CVE-2025-68941","published":"2025-12-26","fixed":"1.22.3","kev":false},{"cve":"CVE-2025-68940","published":"2025-12-26","fixed":"1.22.5","kev":false}],"package":"Go:code.gitea.io/gitea"}}