HighGHSA-rr8h-f97q-8p9cCVE-2022-38148

Blind SQL Injection via GridFieldSortableHeader

Published 22 Nov 2022 · Updated 30 Apr 2025

Affected packages

Affected
>=4.0.0 <4.10.11
Fixed in
4.10.11
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^4.10.11
Affected
>=4.11.0 <4.11.14
Fixed in
4.11.14
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^4.11.14

Details

Gridfield state is vulnerable to SQL injections. The vast majority of Gridfields in Silverstripe CMS are affected by this vulnerability.

An attacker with CMS access could execute an arbitrary SQL statement by adding an SQL payload in some parts of the GridField state.

Is GHSA-rr8h-f97q-8p9c in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.