Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. topthink/framework
  4. ›
  5. CVE-2018-17566

CVE-2018-17566: SQL Injection

September 26, 2018 (updated November 20, 2018)

In ThinkPHP, the inner function delete can be used for SQL injection when its WHERE condition’s value can be controlled by a user’s request.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-17566

Code Behaviors & Features

Detect and mitigate CVE-2018-17566 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 5.1.24

Fixed versions

  • 5.1.25

Solution

Upgrade to version 5.1.25 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/topthink/framework/CVE-2018-17566.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.