{"id":"GHSA-m7h5-fjjq-559f","aliases":["CVE-2020-20120"],"title":"SQL Injection in topthink/thinkphp","description":"ThinkPHP v3.2.3 and below contains a SQL injection vulnerability which is triggered when the array is not passed to the \"where\" and \"query\" methods.","severity":"critical","score":9.8,"published":"2021-09-30T17:11:11.000Z","modified":"2023-11-08T04:02:48.133Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"topthink/thinkphp","ranges":[{"events":[{"introduced":"0"},{"last_affected":"3.2.3"}],"type":"ECOSYSTEM"}],"versions":["3.2.2","3.2.3"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-20120","https://github.com/top-think/thinkphp/issues/553","https://github.com/top-think/thinkphp"],"sources":[{"name":"OSV","id":"GHSA-m7h5-fjjq-559f","modified":"2023-11-08T04:02:48.133577Z","url":"https://osv.dev/vulnerability/GHSA-m7h5-fjjq-559f"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}