GitHub Advisory Database
GHSA-fx37-56v6-85q6
Silverstripe CSRF Protection Bypass via GraphQL
Details
In SilverStripe/GraphQL prior to 2.0.5 and 3.1.2, the previous fix for SS-2018-007 does not completely mitigate the risk of CSRF in GraphQL mutations.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | silverstripe/graphql | From 2.0.0 before 2.0.5 (fixed in 2.0.5) |
| Packagist | silverstripe/graphql | From 3.1.0 before 3.1.2 (fixed in 3.1.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12437
- https://github.com/silverstripe/silverstripe-graphql/commit/3c1dd6b839b7c0e2cbc85074bb5840ebded6097c
- https://github.com/silverstripe/silverstripe-graphql/commit/db28f3075ae2335905f43ac808e9177497e354ff
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2019-12437.yaml
- https://github.com/silverstripe/silverstripe-graphql
- https://www.silverstripe.org/download/security-releases/cve-2019-12437