Packagist (PHP)Worst: Critical2 advisories

topthink/thinkphp: known vulnerabilities

topthink/thinkphp has 2 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 high. The most recent was published 2024-10-30. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the topthink/thinkphp versions running across your servers, containers and images, and ranks what to patch first.

How to fix topthink/thinkphp

Upgrade topthink/thinkphp to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require topthink/thinkphp:^<fixed> (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

ThinkPHP deserialization vulnerability High 9.8 CWE-502 — Affected: 6.1.3 through 8.0.4. No fixed release is listed. Published 2024-10-30. GHSA-pjhx-j53p-c5f5 · CVE-2024-48112
SQL Injection in topthink/thinkphp Critical 9.8 CWE-89 — Affected: up to and including 3.2.3. No fixed release is listed. Published 2021-09-28. GHSA-m7h5-fjjq-559f · CVE-2020-20120

Find topthink/thinkphp across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.