Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68942.json",
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "mitre"
}{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.22.2"
}
]
}