CVE-2025-68946
Medium · 5.4Gitea vulnerable to Cross-site Scripting
CVSS
5.4
EPSS
0.2%
Published
Dec 26, 2025
CISA due date
—
The record
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | code.gitea.io/gitea | 0 | 1.20.1 |
| Bitnami | gitea | 0 | 1.20.1 |
| openSUSE:Leap 15.6 | govulncheck-vulndb | 0 | 0.0.20251230T014957-150000.1.134.1 |
Related vulnerabilities
- GO-2025-4265 Gitea vulnerable to Cross-site Scripting in code.gitea.io/gitea Same vulnerability
- GO-2026-4363 Gitea does not properly validate repository ownership when deleting Git LFS locks in… Also affects code.gitea.io/gitea
- GO-2026-4364 Gitea does not properly validate repository ownership when linking attachments to… Also affects code.gitea.io/gitea
- GO-2026-4365 Gitea may send release notification emails for private repositories to users whose access… Also affects code.gitea.io/gitea
- GO-2026-4367 Gitea has improper access control for uploaded attachments in code.gitea.io/gitea Also affects code.gitea.io/gitea
- GO-2026-4368 Gitea improperly exposes issue titles and repository names through previously started… Also affects code.gitea.io/gitea
- GO-2026-4370 Gitea does not properly validate project ownership in organization project operations in… Also affects code.gitea.io/gitea
- GO-2026-4366 Gitea does not properly verify authorization when canceling scheduled auto-merges via the… Also affects code.gitea.io/gitea