Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text
Date: 2025-12
Affected: go/code.gitea.io/gitea
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-68942
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.


Mitigations:

Architectural layers (MAESTRO):