{"id":"CVE-2025-68942","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.","summary":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","cwe":["CWE-79"],"vendor":"gitea","product":"gitea","affected":["gitea < 1.22.2"],"patched":["gitea 1.22.2"],"published":"2025-12-26","updated":"2026-10-13","sourceUpdated":"2026-10-13T10:10:00.193","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-68942","references":[{"url":"https://blog.gitea.com/release-of-1.22.2/","label":"cve@mitre.org"},{"url":"https://github.com/go-gitea/gitea/pull/31966","label":"cve@mitre.org"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.2","label":"cve@mitre.org"}],"tags":["nvd"],"epss":0.00247,"epssPercentile":0.14791,"ingestedAt":"2026-10-13T10:22:03.523Z","slug":"CVE-2025-68942","body":"## Overview\n\nGitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.\n\n## Affected\n\n- `gitea < 1.22.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 1.22.2`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}