CVE-2025-68946Gitea
Medium 5.4
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 26, 2025
- Updated
- Oct 13, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
What to do
- Apply the vendor's security update for Gitea.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
< 1.20.1 |
1.20.1 |
go get code.gitea.io/gitea@v1.20.1 |
| Go | code.gitea.io/gitea |
< 1.20.1 |
1.20.1 |
go get code.gitea.io/gitea@v1.20.1 |
Per OSV / GitHub Advisories (GHSA-hq57-c72x-4774, GO-2025-4265). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | < 1.20.1 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0037-1 · Jan 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- blog.gitea.com Release Notes
- github.com Issue Tracking Patch
- github.com Release Notes