TH
Product
ThinkPHP
by Thinkphp · last CVE Apr 22, 2026
On CISA KEVExploited in the wild
27
CVEs
1
On KEV
9.8
Max CVSS
0
New 30D
Severity mix
Critical 21High 5Medium 1Low 0
Watch

Add ThinkPHP to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2019-9082
In wildKEV
8.8
97%
Feb 24
ThinkPHP Remote Code Execution Vulnerability
Affected: before 3.2.4
CVE-2018-25270
9.8
1%
Apr 22
ThinkPHP 5.0.23 Remote Code Execution via invokefunction
Affected: 5.0.23; 5.1.31
CVE-2025-63888
9.8
1%
Nov 20
The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability
Affected: 5.0.24
CVE-2025-50706
9.8
1%
Aug 5
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
Affected: 5.1.0
CVE-2025-50707
9.8
1%
Aug 5
An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
Affected: 3.2.5
CVE-2024-48112
9.8
1%
Oct 30
A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code
Affected: 6.1.3 through 8.0.4
CVE-2024-44902
9.8
4%
Sep 9
A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code
Affected: 6.1.3 through 8.0.4
CVE-2022-45982
9.8
1%
Feb 8
thinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability
Affected: 6.0.0 through 6.0.13; 6.1.0
CVE-2022-47945
9.8
30%
Dec 23
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)
Affected: before 6.0.14
CVE-2022-38352
9.8
21%
Sep 15
ThinkPHP v6.0.13 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\Psr6Cache
Affected: 6.0.13
CVE-2022-33107
9.8
24%
Jun 29
ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php
Affected: 6.0.12
CVE-2021-23592
9.8
2%
May 6
The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class
Affected: before 6.0.12
CVE-2021-44350
9.8
1%
Dec 15
SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php
Affected: 5.0.0 through 5.1.22
CVE-2021-36567
9.8
2%
Dec 6
ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\AbstractCache
Affected: 6.0.8
CVE-2021-36564
9.8
2%
Dec 6
ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\Adapter.php
Affected: 6.0.8
CVE-2020-20120
9.8
2%
Sep 28
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
Affected: through 3.2.3
CVE-2018-18546
9.8
2%
Oct 21
ThinkPHP 3.2.4 has SQL Injection via the order parameter because the Library/Think/Db/Driver.class.php parseOrder function mishandles the key variable
Affected: 3.2.4
CVE-2018-18530
9.8
1%
Oct 19
ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the aggregate variable
Affected: 5.1.25
CVE-2018-18529
9.8
1%
Oct 19
ThinkPHP 3.2.4 has SQL Injection via the count parameter because the Library/Think/Db/Driver/Mysql.class.php parseKey function mishandles the key variable
Affected: 3.2.4
CVE-2018-17566
9.8
2%
Sep 26
In ThinkPHP 5.1.24, the inner function delete can be used for SQL injection when its WHERE condition's value can be controlled by a user's request
Affected: 5.1.24
CVE-2018-16385
9.8
2%
Sep 3
ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string
Affected: before 5.1.23
CVE-2018-10225
9.8
1%
Apr 19
thinkphp 3.1.3 has SQL Injection via the index.php s parameter
Affected: 3.1.3
CVE-2022-44289
8.8
3%
Dec 6
Thinkphp 5.1.41 and 5.0.24 has a code logic error which causes file upload getshell
Affected: 5.0.24; 5.1.41
CVE-2021-44892
8.8
2%
Feb 10
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
Affected: 3.2.3
CVE-2025-63889
7.5
0%
Nov 20
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
Affected: 5.0.24
CVE-2022-25481
7.5
5%
Mar 21
ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter
Affected: 5.0.24
CVE-2024-34467
6.1
0%
May 4
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl
Affected: 8.0.3
Showing 27