CVE-2025-68942: XSS

Published Dec 26, 2025
·
Updated

Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.

Affected Software

3 affected componentsFixes available
gitea<1.22.2
go/code.gitea.io/gitea<1.22.2
1.22.2
Gitea Gitea<1.22.2

Event History

Dec 26, 2025
CVE Published
via MITRE·02:50 AM
Data Sourced
via MITRE·02:50 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 AM
Data Sourced
via GitHub·03:30 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68942?

CVE-2025-68942 has been classified as a medium severity vulnerability due to its potential for allowing XSS attacks.

2

How do I fix CVE-2025-68942?

To fix CVE-2025-68942, you should upgrade Gitea to version 1.22.2 or later.

3

What does CVE-2025-68942 affect?

CVE-2025-68942 affects Gitea versions prior to 1.22.2, specifically the search input box for creating tags and branches.

4

What type of vulnerability is CVE-2025-68942?

CVE-2025-68942 is an XSS vulnerability which can be exploited through search inputs.

5

Can CVE-2025-68942 be exploited remotely?

Yes, CVE-2025-68942 can be exploited remotely by attackers through crafted inputs in the search box.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203