medium5.4
CVE-2025-68946
Gitea vulnerable to Cross-site Scripting
Impact
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 | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.20.1 | 1.20.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gitea | Gitea | before 1.20.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://blog.gitea.com/release-of-1.20.1/
- https://github.com/go-gitea/gitea/pull/25960
- https://github.com/go-gitea/gitea/releases/tag/v1.20.1
- https://github.com/advisories/GHSA-hq57-c72x-4774
- https://nvd.nist.gov/vuln/detail/CVE-2025-68946
- https://blog.gitea.com/release-of-1.20.1