SQL Injection Affecting topthink/thinkphp package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.2% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-TOPTHINKTHINKPHP-1727341
  • published1 Oct 2021
  • disclosed30 Sept 2021
  • creditUnknown

Introduced: 30 Sep 2021

CVE-2020-20120  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for topthink/thinkphp.

Overview

topthink/thinkphp is a ThinkPHP Framework.

Affected versions of this package are vulnerable to SQL Injection which is triggered when the array is not passed to the "where" and "query" methods.

References

CVSS Scores

version 3.1