Bug 2425464 (CVE-2025-68942)

Summary: CVE-2025-68942 gitea: Gitea: Cross-Site Scripting (XSS) vulnerability via search input
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 a Cross-Site Scripting (XSS) vulnerability by injecting malicious scripts into the search input box. This occurs because the application improperly uses `v-html` instead of `v-text` for rendering user input. Successful exploitation allows for the execution of arbitrary code in the context of the user's browser, potentially leading to information disclosure or unauthorized actions.
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 04:01:52 UTC
Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.