{"id":"CVE-2018-18546","aliases":["GHSA-j7g8-3qqg-8cvm"],"url":"https://o3.security/vulnerability/CVE-2018-18546","summary":"ThinkPHP SQLi Vulnerability","details":"ThinkPHP 3.2.4 has SQL Injection via the order parameter because the Library/Think/Db/Driver.class.php parseOrder function mishandles the key variable.","published":"2018-10-21T01:29:00.433Z","modified":"2026-07-08T17:16:52.270104Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"topthink/framework","fixedVersion":null}],"fix":{"url":"https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f","label":"top-think/thinkphp@9748cb8"},"references":[{"type":"FIX","url":"https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f"},{"type":"EVIDENCE","url":"https://98587329.github.io/2018/10/09/thinkphp%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T17:16:52.270104Z"}}