{"action":"created","issue":{"url":"https://api.github.com/repos/frappe/frappe/issues/6092","repository_url":"https://api.github.com/repos/frappe/frappe","labels_url":"https://api.github.com/repos/frappe/frappe/issues/6092/labels{/name}","comments_url":"https://api.github.com/repos/frappe/frappe/issues/6092/comments","events_url":"https://api.github.com/repos/frappe/frappe/issues/6092/events","html_url":"https://github.com/frappe/frappe/pull/6092","id":360179332,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NDk4MTE1","number":6092,"title":"fix: check CSRF Token for PUT and DELETE methods as well","user":{"login":"sunnyakaxd","id":14350421,"node_id":"MDQ6VXNlcjE0MzUwNDIx","avatar_url":"https://avatars1.githubusercontent.com/u/14350421?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnyakaxd","html_url":"https://github.com/sunnyakaxd","followers_url":"https://api.github.com/users/sunnyakaxd/followers","following_url":"https://api.github.com/users/sunnyakaxd/following{/other_user}","gists_url":"https://api.github.com/users/sunnyakaxd/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyakaxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyakaxd/subscriptions","organizations_url":"https://api.github.com/users/sunnyakaxd/orgs","repos_url":"https://api.github.com/users/sunnyakaxd/repos","events_url":"https://api.github.com/users/sunnyakaxd/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyakaxd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T06:55:51Z","updated_at":"2018-09-24T07:18:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/frappe/frappe/pulls/6092","html_url":"https://github.com/frappe/frappe/pull/6092","diff_url":"https://github.com/frappe/frappe/pull/6092.diff","patch_url":"https://github.com/frappe/frappe/pull/6092.patch"},"body":"PUT and DELETE requests were not being checked for CSRF Token. Hence sending a request from another tab, without adding CSRF, using method PUT, one was able to bypass CSRF check."},"comment":{"url":"https://api.github.com/repos/frappe/frappe/issues/comments/423892657","html_url":"https://github.com/frappe/frappe/pull/6092#issuecomment-423892657","issue_url":"https://api.github.com/repos/frappe/frappe/issues/6092","id":423892657,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg5MjY1Nw==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-24T07:18:42Z","updated_at":"2018-09-24T07:18:42Z","author_association":"NONE","body":"This pull request has been automatically marked as stale because it has not had recent activity. It will be closed within a week if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.\n"}}
{"actor":{"display_login":"stale"}}