GHSA-xc69-p8fc-m6m5 silverstripe/subsites Unsafe SQL Query Construction (Safe Data Source)
A potential SQL injection vulnerability in the SilverStripe subsites module allows attackers to manipulate database queries, requiring an upgrade to the fixed version.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-xc69-p8fc-m6m5?
GHSA-xc69-p8fc-m6m5 is a SQL injection vulnerability in silverstripe/subsites, published on 28 May 2024. It can be exploited over the network.
Official description
Which versions are affected by GHSA-xc69-p8fc-m6m5?
2 open source packages ship an affected version, including silverstripe/subsites.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/subsites Packagist | From 2.0.0 | 2.1.1 |
silverstripe/subsites Packagist | From 2.0.0 | 2.1.1 |
How do I fix GHSA-xc69-p8fc-m6m5?
Upgrade silverstripe/subsites to 2.1.1 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is GHSA-xc69-p8fc-m6m5 being exploited?
There is no known exploitation of GHSA-xc69-p8fc-m6m5 in the wild and no public exploit code.