{"schema_version":"1.7.3","id":"GHSA-hq57-c72x-4774","published":"2025-12-26T06:30:27Z","modified":"2026-01-01T12:26:12.915721Z","aliases":["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.","affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-hq57-c72x-4774/GHSA-hq57-c72x-4774.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68946"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/25960"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.20.1"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.20.1"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2025-12-26T19:46:52Z","nvd_published_at":"2025-12-26T05:16:11Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}