MEDIUM · 5.4

CVE-2025-68942

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

Vulnerability Description

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

CVSS Score

5.4

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE

Affected Products

VendorProductVersions
GiteaGitea< 1.22.2

Related Weaknesses (CWE)

References

FAQ

What is CVE-2025-68942?

CVE-2025-68942 is a vulnerability with a CVSS score of 5.4 (MEDIUM). Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.

How severe is CVE-2025-68942?

CVE-2025-68942 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2025-68942?

Check the references section above for vendor advisories and patch information. Affected products include: Gitea Gitea.