silverstripe/framework SQL injection in full text search
High severity
GitHub Reviewed
Published
May 27, 2024
to the GitHub Advisory Database
•
Updated May 27, 2024
Package
Affected versions
>= 3.5.0-rc1, < 3.5.6
>= 3.6.0-rc1, < 3.6.3
>= 4.0.0-rc1, < 4.0.1
Patched versions
3.5.6
3.6.3
4.0.1
Description
Published to the GitHub Advisory Database
May 27, 2024
Reviewed
May 27, 2024
Last updated
May 27, 2024
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.
References