{"id":"GHSA-q57j-rwwx-7rwp","aliases":["CVE-2026-42474"],"title":"MixPHP Framework has an SQL injection vulnerability via crafted `data` array","description":"SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted `data` array to the data function in BuildHelper.php.","severity":"medium","score":6.5,"published":"2026-05-01T18:31:24.000Z","modified":"2026-05-07T17:11:25.623Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"mix/mix","ranges":[{"events":[{"introduced":"2.0.0"},{"last_affected":"2.2.17"}],"type":"ECOSYSTEM"}],"versions":["v2.0.1","v2.0.1-Beta2","v2.0.1-RC","v2.0.1-RC2","v2.0.1-RC5","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.1.0","v2.1.0-RC","v2.1.0-RC2","v2.1.0-beta","v2.1.1","v2.1.10","v2.1.11","v2.1.12","v2.1.15","v2.1.3","v2.1.4","v2.1.5","v2.1.6","v2.1.7","v2.1.9","v2.2.11","v2.2.12","v2.2.13","v2.2.14","v2.2.15","v2.2.16","v2.2.17","v2.2.4","v2.2.5","v2.2.7","v2.2.9"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-42474","https://gist.github.com/sgInnora/fa46386840fe978a30d7e53c458f2975","https://github.com/mix-php/mix","https://github.com/mix-php/mix/blob/v2.2.17/src/database/src/Helper/BuildHelper.php"],"sources":[{"name":"OSV","id":"GHSA-q57j-rwwx-7rwp","modified":"2026-05-07T17:11:25.623869Z","url":"https://osv.dev/vulnerability/GHSA-q57j-rwwx-7rwp"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5}]}