{"id":"CVE-2018-16385","title":"ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.","published":"2018-09-02T22:29:00.487Z","updated":"2026-06-16T21:44:11.850Z","severity":"critical","cvssScore":9.8,"epss":0.02151,"epssPct":0.82403,"kev":false,"maturity":"poc","actionScore":40,"primaryVendor":"thinkphp","primaryProduct":"thinkphp","cweId":"CWE-89","fixAvailable":true,"tags":["pre-auth","sqli","remote","no-ui"],"epssDelta7":0.0004,"summary":"ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.","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-08-05T10:24:31.919Z","osv":"2026-11-13T03:18:18.039Z","epss":"2026-11-12","cna_seen":"2026-09-29T10:51:40.909Z","github-poc":"2026-11-13T03:18:14.335Z"},"cvssCna":null,"hasPatchRef":false,"credits":[],"counts":{"exploitdb":0,"metasploit":0,"nuclei":0,"githubPoc":1},"products":[{"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/149288","tags":"Third Party Advisory"}],"exploits":[{"source":"github-poc","kind":"stars:0","date":"2026-07-13"}],"analysis":null,"affectedVersions":[{"vendor":"thinkphp","product":"thinkphp","version":"*","vsi":null,"vse":null,"vei":null,"vee":"5.1.23"}],"source_attribution":"NVD (NIST), CVE Program, CISA KEV, FIRST EPSS, OSV. Aggregated by Noroxi."}