In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
Priority LOW 24CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00247 16th percentileScored 2026-11-07
Fix Fixed Gitea (Gitea): 1.20.1code.gitea.io/gitea (Go): 1.20.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Gitea | Gitea | 1.20.0 to before 1.20.1 | 1.20.1 | Patch available | CNA |
| — | code.gitea.io/gitea (Go) | before 1.20.1 | 1.20.1 | Patch available | GHSA-hq57-c72x-4774 |
- Gitea VendorGitea Affected 1.20.0 to before 1.20.1 Fixed in 1.20.1 Patch available CNA
- code.gitea.io/gitea (Go) Vendor— Affected before 1.20.1 Fixed in 1.20.1 Patch available GHSA-hq57-c72x-4774
Remediation
- Fix · CNA Gitea (Gitea) Fixed in 1.20.1
- Fix · GHSA-hq57-c72x-4774 code.gitea.io/gitea (Go) Fixed in 1.20.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- OpenShift Pipelines
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68946
- 2026-10-03 Alias added: GHSA-hq57-c72x-4774
References
More Gitea vulnerabilities
- TI-2026-42785 Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation. KEVCVSS 3.1CRITICAL 9.8
- TI-2020-11072 The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote… CVSS 3.1HIGH 7.2
- TI-2022-12910 Gitea before 1.16.7 does not escape git fetch remote. CVSS 3.1HIGH 7.5
- TI-2019-08404 models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror… CVSS 3.1HIGH 8.8
- TI-2022-00955 Open Redirect on login in go-gitea/gitea CVSS 3.1MEDIUM 6.1
- TI-2026-68968 Push-to-create bypass of FORCE_PRIVATE policy in Gitea CVSS 3.1MEDIUM 5.4
Sources
- CVE-2025-68946 · CVE Program
- CVE-2025-68946 · NVD
- FIRST EPSS
- GHSA-hq57-c72x-4774 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68946 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences