What’s Vulnerable › Vulnerabilities
CVE-2025-68942
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-26 · updated 2026-10-13
- Weakness: CWE-79
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.
Affected products
- Gitea Open Source Git Server: before 1.22.2 — fixed in 1.22.2
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.22.2. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-1.22.2/
- https://github.com/go-gitea/gitea/pull/31966
- https://github.com/go-gitea/gitea/releases/tag/v1.22.2
Get alerted when CVE-2025-68942 or the next vulnerability affects your stack