CWE
89
Advisory Published
Updated

CVE-2020-20120: SQL Injection

First published: Tue Sep 28 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ThinkPHP ThinkPHP<=3.2.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-20120?

    CVE-2020-20120 has a severity level of critical.

  • How does CVE-2020-20120 affect ThinkPHP?

    CVE-2020-20120 affects ThinkPHP versions up to and including 3.2.3.

  • How is CVE-2020-20120 triggered?

    CVE-2020-20120 is triggered when the array is not passed to the "where" and "query" methods.

  • What is the Common Weakness Enumeration (CWE) ID for CVE-2020-20120?

    CVE-2020-20120 has a CWE ID of 89.

  • Is there a fix available for CVE-2020-20120?

    Yes, a fix is available. Please refer to the provided reference link for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203