{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-18546","published":"2018-10-21T01:29:00.433000Z","last_modified":"2026-06-17T01:47:28.847000Z","status":"Modified","cvss":{"version":"3.0","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:thinkphp:thinkphp:3.2.4:*:*:*:*:*:*:*","part":"a","vendor":"thinkphp","product":"thinkphp","version":"3.2.4"}],"cpes_truncated":false,"vendors":["thinkphp"],"products":["thinkphp/thinkphp"],"epss":{"score":0.01659,"percentile":0.77074,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-j7g8-3qqg-8cvm","ecosystem":"Packagist","name":"topthink/framework","purl":"pkg:composer/topthink/framework","ranges":[{"introduced":"0","last_affected":"3.2.4"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2018-18546/","html_en":"/en/cve/CVE-2018-18546/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-18546","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-18546"},"untrusted":{"vendor_name":"Thinkphp","product_name":"Thinkphp","desc_en":"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.","affected":[],"references":[{"url":"https://98587329.github.io/2018/10/09/thinkphp%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f","tags":["Patch","Vendor Advisory"]}]}}