# CVE-2018-10225: thinkphp SQL Injection via the index.php s parameter

Source: https://junglewise.ai/threats/cve-2018-10225-thinkphp-sql-injection-via-the-index-php-s-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14  
License: CC BY 4.0 with a link back

CVE-2018-10225 · Severity: low · CVSS 3 · Published 2022-05-14

thinkphp SQL Injection via the index.php s parameter

Technologies: [topthink/framework (Packagist)](https://junglewise.ai/threats/technologies/topthink-framework). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2018-10225 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-10225 being exploited in the wild.

**How severe is CVE-2018-10225?** Low severity, with a CVSS score of 3, published 14 May 2022.

**Which products and versions are affected?** topthink/framework (Packagist). The advisory does not name versions.

**Is there a fix for CVE-2018-10225?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2018-10225?** Check whether you run topthink/framework (Packagist). Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- topthink/framework (Packagist)

## Identifiers

- CVE-2018-10225
- GHSA-xvhr-7q4q-qjgp

## Related threats

- [ThinkPHP Path Traversal Vulnerability](https://junglewise.ai/threats/cve-2025-50706-thinkphp-path-traversal-vulnerability)
- [ThinkPHP deserialization vulnerability](https://junglewise.ai/threats/cve-2024-44902-thinkphp-deserialization-vulnerability)
- [ThinkPHP Cross-Site Scripting Vulnerability](https://junglewise.ai/threats/cve-2024-34467-thinkphp-cross-site-scripting-vulnerability)
- [ThinkPHP Framework vulnerable to remote code execution](https://junglewise.ai/threats/cve-2022-47945-thinkphp-framework-vulnerable-to-remote-code-execution)
- [Thinkphp has a code logic error](https://junglewise.ai/threats/cve-2022-44289-thinkphp-has-a-code-logic-error)
