CVE-2025-68946 Details
Description
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
A cross-site scripting (XSS) vulnerability has been identified in Gitea versions prior to 1.20.1. The issue arises from the allowance of forbidden URL schemes, such as 'javascript:', in links. This vulnerability could enable the execution of malicious scripts, potentially compromising users' systems when they click on such links.
Users can upgrade to Gitea version 1.20.1 or later to address this vulnerability. Gitea 1.20.1 is available for download from the Gitea releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.20.1/ | [email protected] | Release Notes |
| https://github.com/go-gitea/gitea/pull/25960 | [email protected] | Issue TrackingPatch |
| https://github.com/go-gitea/gitea/releases/tag/v1.20.1 | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitea gitea | < 1.20.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 31, 2025 | Initial Analysis | [email protected] |
| Dec 26, 2025 | New CVE Received | [email protected] |