Cross-site Request Forgery (CSRF) Affecting silverstripe/graphql package, versions >=2.0.0, <2.0.3
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-SILVERSTRIPEGRAPHQL-546525
- published 5 Feb 2020
- disclosed 5 Feb 2020
- credit Mustafa Hasan
How to fix?
Upgrade silverstripe/graphql
to version 2.0.3 or higher.
Overview
silverstripe/graphql is a GraphQL server for SilverStripe models and other data.
Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The GraphQL controller lacks any CSRF protection, meaning authenticated users can 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.