{"schema_version":"1.7.3","id":"GHSA-898p-hh3p-hf9r","published":"2025-12-26T03:30:17Z","modified":"2026-01-03T12:25:57.491997Z","aliases":["BIT-gitea-2025-68942","CVE-2025-68942","GO-2025-4263"],"summary":"Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text","details":"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":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-898p-hh3p-hf9r/GHSA-898p-hh3p-hf9r.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68942"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/31966"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.2"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.2"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2025-12-26T19:16:42Z","nvd_published_at":"2025-12-26T03:15:51Z","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"}]}