{"id":"GHSA-898p-hh3p-hf9r","revision":"5b8bdb8053c54feda8ef42164714a838","records":[{"revision":"5b8bdb8053c54feda8ef42164714a838","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-898p-hh3p-hf9r","aliases":["BIT-gitea-2025-68942","CVE-2025-68942","GO-2025-4263"],"title":"Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text","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.","state":0,"publishedAt":"2025-12-26T03:30:17+00:00","modifiedAt":"2026-01-03T12:25:57.491997+00:00","affected":[{"ecosystem":"Go","name":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.22.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-68942","https://github.com/go-gitea/gitea/pull/31966","https://blog.gitea.com/release-of-1.22.2","https://github.com/go-gitea/gitea","https://github.com/go-gitea/gitea/releases/tag/v1.22.2"],"sourceUrl":"https://github.com/advisories/GHSA-898p-hh3p-hf9r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-898p-hh3p-hf9r","identifiers":["GHSA-898p-hh3p-hf9r","BIT-gitea-2025-68942","CVE-2025-68942","GO-2025-4263"]},"retained":false,"historicalAffected":[]}],"coverage":[]}