thinkphp thinkphp

productUS

cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*

A product tracked in the threat graph; the vulnerabilities below are known to affect it.

by severity
16critical4high0medium0low
updated 2026-10-30
01

vulnerabilities (27)

Related CVEs.

IDseverity exploitable
CVE-2019-9082UShigh8.8OT criticalKEV
ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via public//?s=index/\think\app/invokefunction&function=call_user_func_…
CVE-2024-44902UScritical9.8Exploit
A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.
CVE-2025-63888US—Exploit
The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability.
CVE-2022-47945UScritical9.8—
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 a…
CVE-2022-33107UScritical9.8—
ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. This vulnerabilit…
CVE-2022-38352UScritical9.8—
ThinkPHP v6.0.13 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\Psr6Cache. This vulnerability allows attackers to execu…
CVE-2022-25481UShigh7.5—
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: t…
CVE-2022-44289UShigh8.8—
Thinkphp 5.1.41 and 5.0.24 has a code logic error which causes file upload getshell.
CVE-2021-36567UScritical9.8—
ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\AbstractCache.
CVE-2018-16385UScritical9.8—
ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.
CVE-2021-44892UShigh8.8—
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.
CVE-2021-36564UScritical9.8—
ThinkPHP v6.0.8 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\Adapter.php.
CVE-2020-20120UScritical9.8—
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.
CVE-2021-23592UScritical9.8—
The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.
CVE-2018-18546UScritical9.8—
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.
CVE-2018-17566UScritical9.8—
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.
CVE-2021-44350UScritical9.8—
SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php.
CVE-2022-45982UScritical9.8—
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.
CVE-2018-18530UScritical9.8—
ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the aggregate variable. NOTE: a backquote character i…
CVE-2018-18529UScritical9.8—
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. NOTE: a backquote charac…
CVE-2025-50707US——
An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
CVE-2025-50706US——
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
CVE-2018-10225UScritical9.8—
thinkphp 3.1.3 has SQL Injection via the index.php s parameter.
CVE-2018-25270US——
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 paramet…
CVE-2024-48112US——
A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.
CVE-2024-34467US——
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
CVE-2025-63889US——
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.
02

weaknesses (8)

The flaw types (CWEs) most of these CVEs share.

  • CWE-502Deserialization of Untrusted Data8 CVEs
  • CWE-89Improper Neutralization of Special Elements used in an SQL Command8 CVEs
  • CWE-94Improper Control of Generation of Code4 CVEs
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory2 CVEs
  • CWE-125Out-of-bounds Read1 CVEs
  • CWE-284Improper Access Control1 CVEs
  • CWE-306Missing Authentication for Critical Functionality1 CVEs
  • CWE-434Unrestricted Upload of File with Dangerous Type1 CVEs
03

sources (1)

Which sources assert this record, and when.

scry

Products carry known vulnerabilities once they are exposed to the internet. See what is exposed on your perimeter with a free passive scan.

Free scan