{"id":"CVE-2018-17566","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":["GHSA-75fm-52mm-q5rm"],"modified":"2026-03-14T09:28:22.895268Z","published":"2018-09-26T21:29:02.257Z","references":[{"type":"EVIDENCE","url":"https://github.com/top-think/think/issues/858"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/top-think/framework","events":[{"introduced":"0"},{"last_affected":"6e95b6208d688eddeb76fb771331180b0ef05de2"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.1.24"}]}}],"versions":["5.0","5.0-rc3","5.0-rc4","5.0.11","5.1.3","v5.0.0","v5.0.1","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.23","v5.1.24","v5.1.3","v5.1.4","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17566.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}