{"id":"CVE-2021-45326","published":"2022-02-08T14:48:50Z","modified":"2024-08-04T04:39:20Z","title":"Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API routes.This can be dangerous…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00606,"percentile":0.4995,"provenance":"source"},"cwes":[],"references":[{"url":"https://blog.gitea.io/2018/10/gitea-1.5.2-is-released/","tags":["x_refsource_MISC"]},{"url":"https://github.com/go-gitea/gitea/pull/4840","tags":["x_refsource_MISC"]},{"url":"https://github.com/go-gitea/gitea/issues/4838","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":9.99}]},"affected":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","vulnerableRanges":["<1.5.2"],"patched":["1.5.2"],"from":["GHSA-4wp3-8q92-mh8w","GO-2022-0309"],"provenance":"source"}],"summary":{"text":"A Cross Site Request Forgery (CSRF) flaw exists in Gitea before 1.5.2 in its API routes, with particular risk to state-altering POST requests. An attacker can induce an authenticated user's browser to submit such requests to the application, which requires the victim to be logged in and to visit an attacker-controlled page or follow a crafted link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:00Z"},"euvd":{"id":"EUVD-2022-0822","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-45328","published":"2022-02-08","fixed":"1.4.3","kev":false},{"cve":"CVE-2018-1000803","published":"2018-10-08","fixed":"1.5.1","kev":false},{"cve":"CVE-2021-45329","published":"2022-02-08","fixed":"1.5.1","kev":false,"link":{"from":"CVE-2021-45329","to":"CVE-2021-45326","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-gitea/gitea","fromFixed":"1.5.1","toFixed":"1.5.2","daysApart":0}]}},{"cve":"CVE-2021-45326","published":"2022-02-08","fixed":"1.5.2","kev":false},{"cve":"CVE-2021-45325","published":"2022-02-08","fixed":"1.7.0","kev":false,"link":{"from":"CVE-2021-45326","to":"CVE-2021-45325","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-gitea/gitea","fromFixed":"1.5.2","toFixed":"1.7.0","daysApart":0}]}},{"cve":"CVE-2019-11228","published":"2019-04-13","fixed":"1.7.6","kev":false},{"cve":"CVE-2019-11229","published":"2019-04-13","fixed":"1.7.6","kev":false}],"package":"Go:github.com/go-gitea/gitea"}}