Skip to content
OpenAdvisories
High · 8.8 GHSA-xx4r-5265-48j6

silverstripe/framework SQL injection in full text search

Published May 27, 2024 · Updated Dec 2, 2024 · Assigned by GHSA

Description

When performing a fulltext search in SilverStripe 4.0.0 the 'start' querystring parameter is never escaped safely. This exposes a possible SQL injection vulnerability.

The issue exists in 3.5 and 3.6 but is less vulnerable, as SearchForm sanitises these variables prior to passing to mysql.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 3.5.0-rc1, < 3.5.6 3.5.6 GHSA-xx4r-5265-48j6
Packagist silverstripe/framework >= 3.6.0-rc1, < 3.6.3 3.6.3 GHSA-xx4r-5265-48j6
Packagist silverstripe/framework >= 4.0.0-rc1, < 4.0.1 4.0.1 GHSA-xx4r-5265-48j6

References