CVE-2018-16385 json
ThinkPHP SQL Injection vulnerability
published 2018-09-03 8 y ago modified 2026-06-17 4 mo ago also GHSA-vcm7-88jx-3r39 , EUVD-2022-5342
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.
Patch / fix
- packagist topthink/framework 5.1.23
- thinkphp thinkphp 5.1.23
Exploit prediction
2.15% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/top-think/framework/issues/1375 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | topthink/framework | <5.1.23 |
5.1.23 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/top-think/framework/issues/1375
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-16385
advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/149288
web, third-party-advisory
-
github.com
/top-think/framework
package
Sources
- CVE List CVE-2018-16385
- GitHub Advisory GHSA-vcm7-88jx-3r39
- NVD CVE-2018-16385
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.