medium5.4
CVE-2025-68942
Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.22.2 | 1.22.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gitea | Gitea | before 1.22.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-898p-hh3p-hf9r
- https://nvd.nist.gov/vuln/detail/CVE-2025-68942
- https://blog.gitea.com/release-of-1.22.2