CVE-2026-42475 Details
Description
SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted `on` array to the joinOn function in BuildHelper.php.
A SQL injection vulnerability exists in MixPHP Framework versions 2.x through 2.2.17. The issue arises in the joinOn function within BuildHelper.php, where user-supplied data in the 'on' array is directly concatenated into SQL JOIN clauses without proper validation or parameterization. This flaw allows attackers to manipulate the SQL query structure, potentially leading to unauthorized data access or modification.
To address this vulnerability, update the joinOn function to use PDO prepared statements for SQL execution. Validate table and column names against an explicit allowlist derived from the database schema before interpolation into the SQL query.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| openmix mix php | >= 2.0.1, <= 2.2.17 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 8, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 1, 2026 | CVE Modified | CISA-ADP |
| May 1, 2026 | New CVE Received | [email protected] |