{"id":"CVE-2025-68942","revision":"f53a3fdfffc547b3b2f03c9803355aa5","records":[{"revision":"f53a3fdfffc547b3b2f03c9803355aa5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-68942","aliases":[],"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.","description":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.","state":0,"publishedAt":"2025-12-26T02:50:35.144+00:00","modifiedAt":"2025-12-26T19:30:04.36+00:00","affected":[{"ecosystem":"Vendor product","name":"Gitea","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:golang/code.gitea.io/gitea\",\n                    \"product\": \"Gitea\",\n                    \"vendor\": \"Gitea\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"1.22.2\",\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"severity":"MEDIUM"}],"references":["https://blog.gitea.com/release-of-1.22.2/","https://github.com/go-gitea/gitea/releases/tag/v1.22.2","https://github.com/go-gitea/gitea/pull/31966"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-68942","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-68942","identifiers":["CVE-2025-68942"]},"retained":false,"historicalAffected":[]}],"coverage":[]}