Cross-Site Scripting Vulnerability in Gitea by Gitea Team
CVE-2025-68942
5.4MEDIUM
What is CVE-2025-68942?
An XSS vulnerability has been identified in Gitea, affecting versions prior to 1.22.2. The issue arises from the improper handling of user input in the search box, specifically using v-html instead of v-text, which allows attackers to inject malicious scripts. This vulnerability can lead to unauthorized access and potential information compromise. Users are advised to upgrade to version 1.22.2 or later to mitigate this risk.
Affected Version(s)
Gitea 0 < 1.22.2
