NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-xx4r-5265-48j6: silverstripe/framework SQL injection in full text search

highCVSS 3.1 8.8

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.

Published May 27, 2024

Affected packages

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.5.0-rc1, < 3.5.6
Fixed in
3.5.6
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.6.0-rc1, < 3.6.3
Fixed in
3.6.3
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 4.0.0-rc1, < 4.0.1
Fixed in
4.0.1
Check
composer show silverstripe/framework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries