Live threats

All CVEs / Thinkphp

CVE-2018-16385Thinkphp

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Sep 3, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.

Original NVD text.

What to do

  1. Apply the vendor's security update for Thinkphp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist topthink/framework < 5.1.23 5.1.23 composer require "topthink/framework:^5.1.23"

Per OSV / GitHub Advisories (GHSA-vcm7-88jx-3r39). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thinkphpthinkphp< 5.1.23

Official sources

References

Links published by the sources. Open them with care.