{"id":"GHSA-xx4r-5265-48j6","aliases":[],"status":"published","title":"silverstripe/framework SQL injection in full text search","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.\n\nThe issue exists in 3.5 and 3.6 but is less vulnerable, as SearchForm sanitises these variables prior to passing to mysql.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2024-05-27T21:53:32Z","modified":"2024-12-02T05:45:12Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/framework","fixed_in":["3.5.6","3.6.3","4.0.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0-rc1"},{"fixed":"3.5.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0-rc1"},{"fixed":"3.6.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0-rc1"},{"fixed":"3.5.6"}]}],"versions":["3.5.0","3.5.0-rc1","3.5.0-rc2","3.5.0-rc3","3.5.1","3.5.1-rc1","3.5.1-rc2","3.5.2","3.5.2-rc1","3.5.3","3.5.3-rc1","3.5.4","3.5.4-rc1","3.5.5","3.5.5-beta1","3.5.5-beta2","3.5.6-rc1"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0-rc1"},{"fixed":"3.6.3"}]}],"versions":["3.6.0","3.6.0-rc1","3.6.1","3.6.1-alpha2","3.6.2","3.6.2-beta1","3.6.2-beta2","3.6.3-rc2"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.1"}]}],"versions":["4.0.0","4.0.0-rc1","4.0.0-rc2","4.0.0-rc3","4.0.1-rc1"]}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/commit/099a5a3c2d99ed39bdd8815e1e2790bb9351770b","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/a8465900bdc77199176c953890ce7587045b1ea4","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-008-1.yaml","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases/ss-2017-008","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xx4r-5265-48j6"},{"url":"https://github.com/silverstripe/silverstripe-framework","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-xx4r-5265-48j6","title":"silverstripe/framework SQL injection in full text search ","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.\n\nThe issue exists in 3.5 and 3.6 but is less vulnerable, as SearchForm sanitises these variables prior to passing to mysql.","status":"published","published":"2024-05-27T21:53:32Z","modified":"2024-05-27T21:53:33Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:37:52.2286Z"}],"osv":[{"id":"GHSA-xx4r-5265-48j6","title":"silverstripe/framework SQL injection in full text search ","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.\n\nThe issue exists in 3.5 and 3.6 but is less vulnerable, as SearchForm sanitises these variables prior to passing to mysql.","status":"published","published":"2024-05-27T21:53:32Z","modified":"2024-12-02T05:45:12.144848Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:47:00.604718Z"}]}}
