CVE-2025-68942: gitea Cross-site Scripting
Analyzed
AliasesGHSA-898p-hh3p-hf9rBIT-gitea-2025-68942GO-2025-4263
Published 26-12-2025Last modified 26-12-2025
Vulnerability summary
CVE-2025-68942 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in gitea. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.1% of scored vulnerabilities.
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 26-12-2025PublishedVulnerability first disclosed.
- 26-12-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 versionMedium 5.4Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NSourcesAll 3 agree
- OSV · GoEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Code.gitea.io1 product
- gitea< 1.22.2
Gitea1 product
- gitea< 1.22.2
2 vendors · 2 products
References
7 links- blog.gitea.com/release-of-1.22.2/Release Notes
- github.com/go-gitea/giteaPACKAGE