# CVE-2021-44350: ThinkPHP5 SQL Injection vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.42%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-15T22:09:06.000Z
- Modified: 2026-06-17T04:12:11.083Z
- Also known as: GHSA-q868-c4vw-qjx3
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

SQL Injection vulnerability exists in ThinkPHP5 5.0.x <=5.1.22 via the parseOrder function in Builder.php.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- topthink/framework (Packagist): from 5.0 up to 5.1.22
- thinkphp thinkphp: from 5.0.0 up to 5.1.22

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/top-think/framework/issues/2613> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44350> (advisory)
- <https://github.com/top-think/framework> (package)

## Sources

- CVE List: [CVE-2021-44350](https://www.cve.org/CVERecord?id=CVE-2021-44350), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-q868-c4vw-qjx3](https://github.com/advisories/GHSA-q868-c4vw-qjx3), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2021-44350](https://nvd.nist.gov/vuln/detail/CVE-2021-44350), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44350 · Whole record: https://cve.day/CVE-2021-44350.json · Rebuilt by cve.day 2026-11-25T22:24:36.309Z
