{"id":"GHSA-vcm7-88jx-3r39","aliases":["CVE-2018-16385"],"title":"ThinkPHP SQL Injection vulnerability","description":"ThinkPHP before 5.1.23 allows SQL Injection via the `public/index/index/test/index` query string.","severity":"critical","score":9.8,"published":"2022-05-14T02:03:04.000Z","modified":"2024-04-24T23:28:21.605Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"topthink/framework","ranges":[{"events":[{"introduced":"0"},{"fixed":"5.1.23"}],"type":"ECOSYSTEM"}],"versions":["5.0","5.0-rc1","5.0-rc2","5.0-rc3","5.0-rc4","v5.0.1","v5.0.10","v5.0.11","v5.0.12","v5.0.13","v5.0.14","v5.0.15","v5.0.16","v5.0.17","v5.0.18","v5.0.19","v5.0.2","v5.0.20","v5.0.21","v5.0.22","v5.0.23","v5.0.24","v5.0.25","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","v5.1-beta.1","v5.1-rc.1","v5.1-rc.2","v5.1-rc.3","v5.1.0","v5.1.1","v5.1.10","v5.1.11","v5.1.12","v5.1.13","v5.1.14","v5.1.15","v5.1.16","v5.1.17","v5.1.18","v5.1.19","v5.1.2","v5.1.20","v5.1.21","v5.1.22","v5.1.3","v5.1.4","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9"],"fixed":["5.1.23"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-16385","https://github.com/top-think/framework/issues/1375","https://exchange.xforce.ibmcloud.com/vulnerabilities/149288","https://github.com/top-think/framework"],"sources":[{"name":"OSV","id":"GHSA-vcm7-88jx-3r39","modified":"2024-04-24T23:28:21.605745Z","url":"https://osv.dev/vulnerability/GHSA-vcm7-88jx-3r39"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}