CVE-2020-20120

CRITICAL

ThinkPHP < 3.2.3 - SQL Injection via Where and Query Methods

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/top-think/thinkphp/issues/553

Scores

CVSS v3 9.8
EPSS 0.0175
EPSS Percentile 75.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (2)
thinkphp/thinkphp < 3.2.3
topthink/thinkphp 0Packagist
Published Sep 28, 2021
Tracked Since Feb 18, 2026