Advisory

GHSA-hq57-c72x-4774

Also known as: BIT-gitea-2025-68946, CVE-2025-68946, GO-2025-4265

Summary

Gitea vulnerable to Cross-site Scripting

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-12-26 06:30 UTC
Modified
2026-01-01 12:26 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.20.1 (semver)

Fixed versions

1.20.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences