{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-18530","published":"2018-10-19T20:29:00.490000Z","last_modified":"2026-06-17T01:47:27.703000Z","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:5.1.25:*:*:*:*:*:*:*","part":"a","vendor":"thinkphp","product":"thinkphp","version":"5.1.25"}],"cpes_truncated":false,"vendors":["thinkphp"],"products":["thinkphp/thinkphp"],"epss":{"score":0.01202,"percentile":0.68167,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7xfj-4jpg-58vf","ecosystem":"Packagist","name":"topthink/framework","purl":"pkg:composer/topthink/framework","ranges":[{"introduced":"0","last_affected":"5.1.25"}],"versions":["5.0","5.0-rc1","5.0-rc2","5.0-rc3","5.0-rc4","v5.0.1","v5.0.10","v5.0.11","v5.0.12","v5.0.13","v5.0.14","v5.0.15","v5.0.16","v5.0.17","v5.0.18","v5.0.19","v5.0.2","v5.0.20","v5.0.21","v5.0.22","v5.0.23","v5.0.24","v5.0.25","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","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.25","v5.1.3","v5.1.4","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2018-18530/","html_en":"/en/cve/CVE-2018-18530/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-18530","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-18530"},"untrusted":{"vendor_name":"Thinkphp","product_name":"Thinkphp","desc_en":"ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the aggregate variable. NOTE: a backquote character is required in the attack URI.","affected":[],"references":[{"url":"https://www.kingkk.com/2018/10/Thinkphp-%E8%81%9A%E5%90%88%E6%9F%A5%E8%AF%A2%E6%BC%8F%E6%B4%9E/#ThinkPHP5-lt-5-1-25","tags":["Exploit","Third Party Advisory"]}]}}