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