{"id":"GHSA-4wp3-8q92-mh8w","summary":"Cross Site Request Forgery in Gitea","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","CVE-2021-45326","GO-2022-0309"],"modified":"2024-08-21T14:56:39.015191Z","published":"2022-02-09T00:00:29Z","database_specific":{"github_reviewed_at":"2022-02-14T23:01:01Z","nvd_published_at":"2022-02-08T15:15:00Z","cwe_ids":["CWE-352"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45326"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/issues/4838"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/4840"},{"type":"WEB","url":"https://blog.gitea.io/2018/10/gitea-1.5.2-is-released"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"}],"affected":[{"package":{"name":"github.com/go-gitea/gitea","ecosystem":"Go","purl":"pkg:golang/github.com/go-gitea/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-4wp3-8q92-mh8w/GHSA-4wp3-8q92-mh8w.json"}}],"schema_version":"1.9.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"}]}