{"id":"CVE-2018-18546","title":"ThinkPHP 3.2.4 has SQL Injection via the order parameter because the Library/Think/Db/Driver.class.php parseOrder function mishandles the ke","published":"2018-10-20T21:29:00.433Z","updated":"2026-06-16T21:47:28.847Z","severity":"critical","cvssScore":9.8,"epss":0.01659,"epssPct":0.76986,"kev":false,"maturity":"none","actionScore":39,"primaryVendor":"thinkphp","primaryProduct":"thinkphp","cweId":"CWE-89","fixAvailable":false,"tags":["pre-auth","sqli","remote","no-ui"],"epssDelta7":0,"summary":"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.","cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssVersion":"3.0","cvssSource":"nvd-primary","cweName":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","kevAdded":null,"kevDue":null,"kevRansomware":null,"source":"nvd","cna":"mitre","ssvc":null,"sources":{"cna":"2024-09-17T00:22:01.293Z","osv":"2026-11-13T03:18:18.039Z","epss":"2026-11-12","cna_seen":"2026-09-29T10:51:51.221Z"},"cvssCna":null,"hasPatchRef":true,"credits":[],"counts":{"exploitdb":0,"metasploit":0,"nuclei":0,"githubPoc":0},"products":[{"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp"}],"references":[{"url":"https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f","tags":"Patch,Vendor Advisory"}],"exploits":[],"analysis":null,"affectedVersions":[{"vendor":"thinkphp","product":"thinkphp","version":"3.2.4","vsi":null,"vse":null,"vei":null,"vee":null}],"source_attribution":"NVD (NIST), CVE Program, CISA KEV, FIRST EPSS, OSV. Aggregated by Noroxi."}