Read the docs
TI-2020-13765 Aliases CVE-2020-20120GHSA-m7h5-fjjq-559f

ThinkPHP v3.2.3 and below contains a SQL injection vulnerability which is triggered when…

Priority MEDIUM 46CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

EPSS 0.01822 78th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—topthink/thinkphp (Packagist)up to 3.2.3—No fix listedGHSA-m7h5-fjjq-559f
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • topthink/thinkphp (Packagist) Vendor— Affected up to 3.2.3 Fixed in — No fix listed GHSA-m7h5-fjjq-559f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*up to 3.2.3VulnerableThinkPHP
  • cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:* Versions up to 3.2.3 Vulnerable ·ThinkPHP

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-20120
  2. 2026-10-03 Alias added: GHSA-m7h5-fjjq-559f

References

  • TI-2019-06557 ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows… KEVCVSS 3.1HIGH 8.8
  • TI-2025-32227 An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component CVSS 3.1CRITICAL 9.8
  • TI-2025-32226 An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function CVSS 3.1CRITICAL 9.8
  • TI-2024-32271 A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3… CVSS 3.1CRITICAL 9.8
  • TI-2024-30031 A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code. CVSS 3.1CRITICAL 9.8
  • TI-2022-23758 ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when… CVSS 3.1CRITICAL 9.8
See all 26 →

Sources