{"id":"GHSA-xx4r-5265-48j6","aliases":["GHSA-xx4r-5265-48j6"],"related":[],"kind":"vulnerability","state":"published","title":"silverstripe/framework SQL injection in full text search","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-27T21:53:32.000Z","modified":"2024-12-02T05:45:12.144Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"3.5.0-rc1","status":"affected","fixed":"3.5.6"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.6.0-rc1","status":"affected","fixed":"3.6.3"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-rc1","status":"affected","fixed":"4.0.1"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/commit/099a5a3c2d99ed39bdd8815e1e2790bb9351770b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/a8465900bdc77199176c953890ce7587045b1ea4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-008-1.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework","tags":["package"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/download/security-releases/ss-2017-008","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xx4r-5265-48j6","url":"https://github.com/advisories/GHSA-xx4r-5265-48j6","licence":"CC-BY-4.0","modified":"2024-12-02T05:45:12.144Z"}],"updatedAt":"2026-11-25T22:56:33.448Z"}