CVE-2025-68942

published 26 Dec 2025 · updated 26 Dec 2025

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

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Gitea 1.22.2.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea<1.22.21.22.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68942 severity on Zeptric[![CVE-2025-68942](https://zeptric.io/badge/cve/CVE-2025-68942.svg)](https://zeptric.io/cve/CVE-2025-68942)