Description
The GraphQL controller lacked any CSRF protection, meaning authenticated users could be forced or tricked into visiting a URL that would send a GET request to the affected web server that could mutate or destroy data without the user knowing.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | silverstripe/graphql | >= 2.0.0, < 2.0.3 | 2.0.3 | GHSA-wjg9-v8cf-f5q2 |
References
- https://github.com/silverstripe/silverstripe-graphql/commit/b59ba397ff42d8934bd2d9c932514f898c327f64 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/SS-2018-007-1.yaml web
- https://github.com/silverstripe/silverstripe-graphql package
- https://www.silverstripe.org/download/security-releases/ss-2018-007 web