CVE-2018-10225
thinkphp SQL Injection via the index.php s parameter
CVE-2018-10225 is a critical vulnerability (CVSS 9.8) in Thinkphp, published April 19, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.10%, the 65th percentile. No source names a fixed version.
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
- Record
CVE-2018-10225- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
- Record
CVE-2018-10225- Updated
- 2026-11-02
EUVDEUVD-2022-5863 No score
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
- Record
EUVD-2022-5863- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xvhr-7q4q-qjgp
9.8
thinkphp SQL Injection via the index.php s parameter
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
- Record
GHSA-xvhr-7q4q-qjgp- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSV
9.8
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
- Record
CVE-2018-10225- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-xvhr-7q4q-qjgp
9.8
thinkphp SQL Injection via the index.php s parameter
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
- Record
GHSA-xvhr-7q4q-qjgp- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
topthink/frameworkPackagist |
3.1.3 to 3.1.3 | None known |
topthink/frameworkPackagist |
Listed versions 3.1.3 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |