CVE-2025-68942

gitea: Gitea: Cross-Site Scripting (XSS) vulnerability via search input

Published Dec 26, 2025 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-898p-hh3p-hf9r Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
Type Values Removed Values Added
Title gitea: Gitea: Cross-Site Scripting (XSS) vulnerability via search input
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.
First Time appeared Gitea
Gitea gitea
Weaknesses CWE-79
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
Vendors & Products Gitea
Gitea gitea
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 26, 2025, 7:30 PM
Reserved
Dec 26, 2025, 2:50 AM
Status
Analyzed
Published
Dec 26, 2025, 3:15 AM
Modified
Oct 13, 2026, 10:10 AM
Severity
Moderate
Public date
Dec 26, 2025, 2:50 AM