Advisory record · GHSA-75fm-52mm-q5rm

ThinkPHP SQL injection vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.015 · 75th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 14 May 2022, 01:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
topthink/frameworkPackagist=5.1.24No fixed version yet
Identifiers
GHSA-75fm-52mm-q5rm · CVE-2018-17566 · PKSA-xjhx-vx6k-r2d7
Weakness (CWE)
CWE-89
Published
14 May 2022
Updated
24 Apr 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

ThinkPHP framework (topthink/framework) version 5.1.24 is affected by an SQL injection flaw in the internal delete function. An attacker who can control the value of the WHERE condition through a user request can inject SQL, and the source does not describe the exact impact beyond that. No fixed version is listed, so the source gives no upgrade path.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.015, the 75th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:30 UTC First seen by agentprime
  2. 31 Oct 2026, 14:30 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.