CVE-2025-68942

MEDIUM
Published Dec 26, 2025 Modified Jan 2, 2026 CWE-79

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 v3.1 Score

5.4
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness Type (CWE)

CWE-79 Cross-site Scripting (XSS)

Affected Products

Vendor Product
gitea gitea

References

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. It has a CVSS v3.1 base score of 5.4 (MEDIUM).
How severe is CVE-2025-68942? +
CVE-2025-68942 has a CVSS v3.1 score of 5.4 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-68942? +
CVE-2025-68942 affects products from gitea, specifically: gitea. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-68942? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-68942 — free, no signup required.

Start Free Scan