CVE-2025-68942
MEDIUM5.4EPSS 0.01%Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text in code.gitea.io/gitea
Published: 12/26/2025Modified: 3/3/2026
Description
Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text in code.gitea.io/gitea
Affected packages (3)
- Bitnami/giteafrom 0, < 1.22.2
- Go/code.gitea.io/giteafrom 0, < 1.22.2
- Go/code.gitea.io/giteafrom 0, < 1.22.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://github.com/advisories/GHSA-898p-hh3p-hf9r
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-68942
- PATCHhttps://github.com/go-gitea/gitea
- WEBhttps://blog.gitea.com/release-of-1.22.2
- WEBhttps://blog.gitea.com/release-of-1.22.2/
- WEBhttps://github.com/go-gitea/gitea/pull/31966
- WEBhttps://github.com/go-gitea/gitea/releases/tag/v1.22.2