Vulnerabilities · 2025 · Gitea
CVE-2025-68942
Gitea vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gitea runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2025-68942
- github.com/go-gitea/gitea/pull/31966
- blog.gitea.com/release-of-1.22.2
- github.com/go-gitea/gitea/releases/tag/v1.22.2
- github.com/advisories/GHSA-898p-hh3p-hf9r
- blog.gitea.com/release-of-1.22.2/
- nvd.nist.gov/vuln/detail/CVE-2025-68942
- cve.org/CVERecord?id=CVE-2025-68942
More vulnerabilities in Gitea products
CVE-2026-20912CVE-2026-20904CVE-2026-20897CVE-2026-20888CVE-2026-20883CVE-2026-20800CVE-2026-20750CVE-2026-20736All 52
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.