Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-68942 BIT-gitea-2025-68942EUVD-2025-205413GHSA-898p-hh3p-hf9rGO-2025-4263

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

Published Dec 26, 2025 · Updated Dec 26, 2025 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
Gitea Gitea < 1.22.2 1.22.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251230T014957-150000.1.134.1 SUSE-SU-2026:0037-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.22.2 1.22.2 GHSA-898p-hh3p-hf9r

Advisories 3

References