Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-68946 BIT-gitea-2025-68946EUVD-2025-205421GHSA-hq57-c72x-4774GO-2025-4265

Gitea vulnerable to Cross-site Scripting

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

Description

In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.

Affected products

VendorProductAffectedFixed
Gitea Gitea 1.20.0 – < 1.20.1 1.20.1

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.20.1 1.20.1 GHSA-hq57-c72x-4774

Advisories 3

References