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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-68937Forgejo before 13.0.2 allows attackers to write to unintende…9.5
- CVE-2025-68938Gitea before 1.25.2 mishandles authorization for deletion of…5.3
- CVE-2025-68939Gitea before 1.23.0 allows attackers to add attachments with…5.3
- CVE-2025-6894An Execution with Unnecessary Privileges vulnerability has b…5.3
- CVE-2025-68940In Gitea before 1.22.5, branch deletion permissions are not …5.3
- CVE-2025-68941Gitea before 1.22.3 mishandles access to a private resource …5.3
- CVE-2025-68943Gitea before 1.21.8 inadvertently discloses users' login tim…5.3
- CVE-2025-68944Gitea before 1.22.2 sometimes mishandles the propagation of …5.3
- CVE-2025-68945In Gitea before 1.21.2, an anonymous user can visit a privat…5.3
- CVE-2025-68946In Gitea before 1.20.1, a forbidden URL scheme such as javas…5.4
- CVE-2025-68947NSecsoft 'NSecKrnl' is a Windows driver that allows a local,…5.7
- CVE-2025-68948SiYuan is self-hosted, open source personal knowledge manage…8.1
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
