{"id":"CVE-2021-44350","aliases":["EUVD-2021-2568","GHSA-q868-c4vw-qjx3"],"status":"published","title":"ThinkPHP5 SQL Injection vulnerability","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01419,"percentile":0.73202,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2021-12-15T22:09:06Z","modified":"2026-10-24T10:50:43Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"topthink/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0"},{"last_affected":"5.1.22"}]}]},{"source":"osv","ecosystem":"Packagist","package":"topthink/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0"},{"last_affected":"5.1.22"}]}],"versions":["5.0","v5.0.1","v5.0.10","v5.0.11","v5.0.12","v5.0.13","v5.0.14","v5.0.15","v5.0.16","v5.0.17","v5.0.18","v5.0.19","v5.0.2","v5.0.20","v5.0.21","v5.0.22","v5.0.23","v5.0.24","v5.0.25","v5.0.3","v5.0.4","v5.0.5","v5.0.6","v5.0.7","v5.0.8","v5.0.9","v5.1-beta.1","v5.1-rc.1","v5.1-rc.2","v5.1-rc.3","v5.1.0","v5.1.1","v5.1.10","v5.1.11","v5.1.12","v5.1.13","v5.1.14","v5.1.15","v5.1.16","v5.1.17","v5.1.18","v5.1.19","v5.1.2","v5.1.20","v5.1.21","v5.1.22","v5.1.3","v5.1.4","v5.1.5","v5.1.6","v5.1.7","v5.1.8","v5.1.9"]}],"products":[{"vendor":"thinkphp","product":"thinkphp"}],"references":[{"url":"https://github.com/top-think/framework/issues/2613","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44350","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q868-c4vw-qjx3"},{"url":"https://github.com/top-think/framework","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-44350","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","status":"published","published":"2021-12-15T22:09:06Z","modified":"2024-08-04T04:17:25.074Z","updated_at":"2026-11-02T14:33:01.166399Z"}],"euvd":[{"id":"EUVD-2021-2568","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","status":"published","published":"2021-12-15T22:09:06Z","modified":"2024-08-04T04:17:25Z","updated_at":"2026-11-03T03:24:12.005069Z"}],"ghsa":[{"id":"GHSA-q868-c4vw-qjx3","title":"ThinkPHP5 SQL Injection vulnerability","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","status":"published","published":"2021-12-17T00:00:38Z","modified":"2024-04-24T23:02:40Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:37:46.667202Z"}],"nvd":[{"id":"CVE-2021-44350","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","status":"published","published":"2021-12-15T23:15:08.81Z","modified":"2026-06-17T04:12:11.083Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:02.566991Z"}],"osv":[{"id":"CVE-2021-44350","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","status":"published","published":"2021-12-15T23:15:08.81Z","modified":"2026-10-24T10:50:43.299953952Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"GHSA-q868-c4vw-qjx3","title":"ThinkPHP5 SQL Injection vulnerability","description":"SQL Injection vulnerability exists in ThinkPHP5 5.0.x \u003c=5.1.22 via the parseOrder function in Builder.php.","status":"published","published":"2021-12-17T00:00:38Z","modified":"2024-04-24T23:28:21.763171Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:54.40888Z"}]}}
