{"url":"http://public2.vulnerablecode.io/api/packages/55488?format=json","purl":"pkg:composer/topthink/framework@5.1.25","type":"composer","namespace":"topthink","name":"framework","version":"5.1.25","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"5.1.26","latest_non_vulnerable_version":"6.1.1","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/13028?format=json","vulnerability_id":"VCID-p2hv-nrxq-93bv","summary":"ThinkPHP has SQL Injection via the `count` parameter because the `library/think/db/Query.php` aggregate function mishandles the aggregate variable.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2018-18530","reference_id":"","reference_type":"","scores":[{"value":"0.0025","scoring_system":"epss","scoring_elements":"0.48548","published_at":"2026-05-30T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2018-18530"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18530","reference_id":"CVE-2018-18530","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18530"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/55867?format=json","purl":"pkg:composer/topthink/framework@5.1.26","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/topthink/framework@5.1.26"}],"aliases":["CVE-2018-18530"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-p2hv-nrxq-93bv"}],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/12960?format=json","vulnerability_id":"VCID-jcwz-xs69-3bb5","summary":"SQL Injection\nIn ThinkPHP, the inner function delete can be used for SQL injection when its `WHERE` condition's value can be controlled by a user's request.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2018-17566","reference_id":"","reference_type":"","scores":[{"value":"0.0025","scoring_system":"epss","scoring_elements":"0.48548","published_at":"2026-05-30T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2018-17566"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17566","reference_id":"CVE-2018-17566","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17566"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/55488?format=json","purl":"pkg:composer/topthink/framework@5.1.25","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-p2hv-nrxq-93bv"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/topthink/framework@5.1.25"}],"aliases":["CVE-2018-17566"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-jcwz-xs69-3bb5"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/topthink/framework@5.1.25"}