{"id":"GHSA-75fm-52mm-q5rm","summary":"ThinkPHP SQL injection vulnerability","details":"In ThinkPHP 5.1.24, the inner function delete can be used for SQL injection when its WHERE condition's value can be controlled by a user's request.","aliases":["CVE-2018-17566"],"modified":"2024-04-24T23:28:21.674348Z","published":"2022-05-14T01:57:50Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-24T23:02:32Z","nvd_published_at":"2018-09-26T21:29:00Z","cwe_ids":["CWE-89"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17566"},{"type":"WEB","url":"https://github.com/top-think/think/issues/858"},{"type":"PACKAGE","url":"https://github.com/top-think/framework"}],"affected":[{"package":{"name":"topthink/framework","ecosystem":"Packagist","purl":"pkg:composer/topthink/framework"},"versions":["5.1.24"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-75fm-52mm-q5rm/GHSA-75fm-52mm-q5rm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}