GHSA-wjg9-v8cf-f5q2 silverstripe/graphql Cross-Site Request Forgery vulnerability

Not scored Published

Authenticated users can be tricked into executing unauthorized data mutations or deletions via CSRF in the SilverStripe GraphQL controller.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-wjg9-v8cf-f5q2?

GHSA-wjg9-v8cf-f5q2 is a vulnerability in silverstripe/graphql, published on 28 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Which versions are affected by GHSA-wjg9-v8cf-f5q2?

2 open source packages ship an affected version, including silverstripe/graphql.

PackageAffectedFixed in
silverstripe/graphql PackagistFrom 2.0.02.0.3
silverstripe/graphql PackagistFrom 2.0.02.0.3

How do I fix GHSA-wjg9-v8cf-f5q2?

Upgrade silverstripe/graphql to 2.0.3 or later.

Is GHSA-wjg9-v8cf-f5q2 being exploited?

There is no known exploitation of GHSA-wjg9-v8cf-f5q2 in the wild and no public exploit code.

Sources

Is GHSA-wjg9-v8cf-f5q2 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free