GHSA-xc69-p8fc-m6m5 silverstripe/subsites Unsafe SQL Query Construction (Safe Data Source)

Not scored Published

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

There is a low level potential SQL injection vulnerability in the silverstripe/subsites module has been identified and fixed in version 2.1.1.

Which versions are affected by GHSA-xc69-p8fc-m6m5?

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

PackageAffectedFixed in
silverstripe/subsites PackagistFrom 2.0.02.1.1
silverstripe/subsites PackagistFrom 2.0.02.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.

Sources

Is GHSA-xc69-p8fc-m6m5 in your software?

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

Check your SBOMs for free