CVE-2018-18530: ThinkPHP

Critical severity, CVSS 9.8. EPSS: 1.2% chance of exploitation in the next 30 days.

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 products

Published 2018-10-19. Last modified 2026-06-17.