{"id":"GHSA-vf35-8m4j-gm8v","aliases":["CVE-2026-42475"],"title":"MixPHP Framework has an SQL injection vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted `on` array to the joinOn function in BuildHelper.php.","severity":"medium","score":6.5,"published":"2026-05-01T18:31:24.000Z","modified":"2026-05-07T17:11:25.698Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"mix/mix","sources":[{"name":"OSV · GHSA-vf35-8m4j-gm8v","url":"https://osv.dev/vulnerability/GHSA-vf35-8m4j-gm8v"}],"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":[]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-42475","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-vf35-8m4j-gm8v","modified":"2026-05-07T17:11:25.698971Z","url":"https://osv.dev/vulnerability/GHSA-vf35-8m4j-gm8v"}],"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}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T20:25:31.474Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}