{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.1.23"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7b7f1b6b23897e7f0c7a98a56e61723a61fa27ce"
            }
          ],
          "repo": "https://github.com/top-think/framework",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "ThinkPHP before 5.1.23 allows SQL Injection via the public/index/index/test/index query string.",
  "id": "CVE-2018-16385",
  "modified": "2026-07-08T05:36:24.408614561Z",
  "published": "2018-09-03T02:29:00.487Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/149288"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/top-think/framework/issues/1375"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}