Bug 2425468 (CVE-2025-68946)

Summary: CVE-2025-68946 gitea: Gitea: Cross-Site Scripting (XSS) via forbidden URL scheme in links
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Gitea. A remote attacker could exploit this vulnerability by injecting a forbidden URL scheme, such as `javascript:`, into a link. This could lead to Cross-Site Scripting (XSS), allowing the attacker to execute arbitrary code in the user's browser or disclose sensitive information.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-12-26 05:01:18 UTC
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.