{"id":"CVE-2021-45326","details":"Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API routes.This can be dangerous especially with state altering POST requests.","aliases":["BIT-gitea-2021-45326","GHSA-4wp3-8q92-mh8w","GO-2022-0309"],"modified":"2026-08-07T17:03:11.394079Z","published":"2022-02-08T15:15:07.767Z","references":[{"type":"ADVISORY","url":"https://blog.gitea.io/2018/10/gitea-1.5.2-is-released/"},{"type":"REPORT","url":"https://github.com/go-gitea/gitea/issues/4838"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/4840"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-gitea/gitea","events":[{"introduced":"0"},{"fixed":"31a738b221094cbfc32bf342fb3b76d4e78617da"}],"database_specific":{"cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.5.2"}],"source":"CPE_RANGE"}}],"versions":["v1.5.1","v1.5.0","v1.5.0-rc2","v1.5.0-rc1","v1.5.0-dev","v1.1.0","v1.0.0","v0.9.99"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45326.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}