ThinkPHP SQL Injection vulnerability
ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | topthink/framework | < 5.1.23 | 5.1.23 |
References
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-89- Platform
- Composer
- Package
topthink/framework- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vcm7-88jx-3r39 - CC BY 4.0
Vulnerability history: topthink/framework
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 19
- First → latest
- 12.2021 08.2025
- Without a fix
- 14
- Exploited in attacks
- 0
Severity breakdown
- Critical 15
- High 3
- Medium 1
Disclosures per year
- 2021: 3
- 2022: 13
- 2023: 0
- 2024: 2
- 2025: 1
- 2026: 0
-
ThinkPHP SQL Injection vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.