CVE-2025-68942
Medium
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.
SeverityMedium
CVSS5.4
Exploit probability—
Product
Gitea
PublishedDec 26, 2025
First seenDec 26, 2025
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- gitea gitea1.22.2 or later
- code.gitea.io/gitea1.22.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitea gitea | v < 1.22.2 | 1.22.2 |
| code.gitea.io/giteaGo | v < 1.22.2 | 1.22.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.