CVE-2025-68942

MEDIUM CVSS 3.1: 5.4 EPSS 0.25%
Updated Oct 13, 2026
Gitea
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 1.22.2
Fixed In 1.22.2
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Gitea
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Gitea Gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
— 1.22.2
Gitea Gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
— 1.22.2