{"id":"CVE-2025-68946","published":"2025-12-26T04:14:03Z","modified":"2025-12-26T18:59:45Z","title":"In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS","vendor":"Gitea","product":"Gitea","tier":"tail","description":{"text":"In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.","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.20.1/","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.20.1","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/25960","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.20.0, < 1.20.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-26T14:42:13.330951Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.20.1"],"patched":["1.20.1"],"from":["GHSA-hq57-c72x-4774","GO-2025-4265"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in Gitea before version 1.20.1, where a forbidden URL scheme such as javascript: is accepted in a link. An attacker can use this to run script in a victim's browser, provided they have low-privilege authenticated access to Gitea and the victim must interact with the crafted link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:43Z"},"euvd":{"id":"EUVD-2025-205421","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-38795","published":"2023-08-07","fixed":"1.17.2","kev":false},{"cve":"CVE-2022-42968","published":"2022-10-16","fixed":"1.17.3","kev":false},{"cve":"CVE-2023-3515","published":"2023-07-05","fixed":"1.19.4","kev":false},{"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,"link":{"from":"CVE-2025-68946","to":"CVE-2025-68945","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.20.1","toFixed":"1.21.2","daysApart":0}]}},{"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}],"package":"Go:code.gitea.io/gitea"}}