CVE-2025-68946: gitea Cross-site Scripting
Analyzed
AliasesGHSA-hq57-c72x-4774BIT-gitea-2025-68946GO-2025-4265
Published 26-12-2025Last modified 26-12-2025
Vulnerability summary
CVE-2025-68946 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in gitea. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.1% of scored vulnerabilities.
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 26-12-2025PublishedVulnerability first disclosed.
- 26-12-2025Last modifiedVulnerability information updated.
Description
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
CVSS metrics
3 scores · 3 sources · 1 versionMedium 5.4Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NSourcesAll 3 agree
- OSV · GoEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Code.gitea.io1 product
- gitea< 1.20.1
Gitea1 product
- gitea≥ 1.20.0, < 1.20.1 | < 1.20.1
2 vendors · 2 products
References
7 links- blog.gitea.com/release-of-1.20.1/Release Notes
- github.com/go-gitea/giteaPACKAGE