CVE-2025-68942
MEDIUM 5.4CVSS 3.1Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text
Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.
- Published
- 26 Dec 2025
- Last modified
- 13 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- BIT-gitea-2025-68942GHSA-898p-hh3p-hf9rGO-2025-4263
- Sources
- NVDJSONOSV GHSA-898p-hh3p-hf9rJSONOSV GO-2025-4263JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* |
< 1.22.2 | 1.22.2 |
| OSV | Go | code.gitea.io/gitea | < 1.22.2 | 1.22.2 |
References
- https://blog.gitea.com/release-of-1.22.2/ · Release Notes, WEB
- https://github.com/go-gitea/gitea/pull/31966 · Issue Tracking, Patch, WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.22.2 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68942 · ADVISORY
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-898p-hh3p-hf9r · ADVISORY
History
- 25 Nov 2026 21:00 UTC · NVD: first stored (published 26 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Dec 2025)