Aggregates CVE and security vulnerability intelligence across all thinkphp-related products, including CVSS, EPSS, publication dates, and vulnerability intelligence data.
Common weakness patterns include vendor risk cross-site scripting, vendor risk path handling, and vendor risk file inclusion, with potential vendor impact memory corruption across vendor surface production workloads use cases.
| CVE | Summary | Source | Max CVSS | EPSS % | Published | Updated |
|---|---|---|---|---|---|---|
| CVE-2018-25270 | ThinkPHP 5.0.23 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by invoking functions through the routing parameter. Attackers can craft requests to the index.php endpoint with malicious function parameters to execute system commands with application privileges. | [email protected] | 9.3 | 1.39% | 2026-04-22 | 2026-04-27 |
| CVE-2025-63889 | The fetch function in file thinkphp\library\think\Template.php in ThinkPHP 5.0.24 allows attackers to read arbitrary files via crafted file path in a template value. | [email protected] | 7.5 | 0.04% | 2025-11-20 | 2025-11-25 |
| CVE-2025-63888 | The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability. | [email protected] | 9.8 | 0.39% | 2025-11-20 | 2025-11-25 |
| CVE-2025-50707 | An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component | [email protected] | 9.8 | 4.40% | 2025-08-05 | 2025-08-14 |
| CVE-2025-50706 | An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function | [email protected] | 9.8 | 4.40% | 2025-08-05 | 2025-08-14 |
| CVE-2024-48112 | A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code. | [email protected] | 9.8 | 2.39% | 2024-10-30 | 2025-06-17 |
| CVE-2024-44902 | A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code. | [email protected] | 9.8 | 83.67% | 2024-09-09 | 2024-09-20 |
| CVE-2024-34467 | ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl. | [email protected] | 6.1 | 0.05% | 2024-05-04 | 2025-06-17 |
| CVE-2022-45982 | thinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to execute arbitrary code via a crafted payload. | [email protected] | 9.8 | 4.75% | 2023-02-08 | 2025-03-25 |
| CVE-2022-47945 | ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including pearcmd.php. | [email protected] | 9.8 | 90.34% | 2022-12-23 | 2025-04-15 |
| CVE-2022-44289 | Thinkphp 5.1.41 and 5.0.24 has a code logic error which causes file upload getshell. | [email protected] | 8.8 | 0.35% | 2022-12-06 | 2025-04-23 |
| CVE-2022-38352 | ThinkPHP v6.0.13 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\Psr6Cache. This vulnerability allows attackers to execute arbitrary code via a crafted payload. | [email protected] | 9.8 | 3.77% | 2022-09-15 | 2024-11-21 |
| CVE-2022-33107 | ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. This vulnerability allows attackers to execute arbitrary code via a crafted payload. | [email protected] | 9.8 | 20.61% | 2022-06-29 | 2024-11-21 |
| CVE-2021-23592 | The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class. | [email protected] | 7.7 | 0.96% | 2022-05-06 | 2024-11-21 |
| CVE-2022-25481 | ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an intended feature of the debugging mode. | [email protected] | 7.5 | 9.50% | 2022-03-21 | 2024-11-21 |
| CVE-2021-44892 | A Remote Code Execution (RCE) vulnerability exists in ThinkPHP 3.x.x via value[_filename] in index.php, which could let a malicious user obtain server control privileges. | [email protected] | 8.8 | 1.99% | 2022-02-10 | 2024-11-21 |
| CVE-2021-44350 | SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php. | [email protected] | 9.8 | 0.98% | 2021-12-15 | 2024-11-21 |
| CVE-2021-36567 | ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\AbstractCache. | [email protected] | 9.8 | 3.36% | 2021-12-06 | 2024-11-21 |
| CVE-2021-36564 | ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\Adapter.php. | [email protected] | 9.8 | 1.10% | 2021-12-06 | 2024-11-21 |
| CVE-2020-20120 | ThinkPHP v3.2.3 and below contains a SQL injection vulnerability which is triggered when the array is not passed to the "where" and "query" methods. | [email protected] | 9.8 | 1.11% | 2021-09-28 | 2024-11-21 |