CVE-2025-68942
MEDIUMCVSS 5.4/10EPSS 0.22%
Last modified
CVE-2025-68942 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 1.22.2 |
References
- https://blog.gitea.com/release-of-1.22.2/Release Notes
- https://github.com/go-gitea/gitea/pull/31966Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-68942?
Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.
How severe is CVE-2025-68942?
CVE-2025-68942 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 0.22% probability of exploitation in the next 30 days.
How do I fix CVE-2025-68942?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2025-68942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
