Live threats

All CVEs / Gitea

CVE-2025-68942Gitea

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
—
Auth required
Yes
Published
Dec 26, 2025
Updated
Oct 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea < 1.22.2 1.22.2 go get code.gitea.io/gitea@v1.22.2
Go code.gitea.io/gitea < 1.22.2 1.22.2 go get code.gitea.io/gitea@v1.22.2

Per OSV / GitHub Advisories (GHSA-898p-hh3p-hf9r, GO-2025-4263). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea< 1.22.2

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.