CVE-2026-42475
Received Received - Intake
SQL Injection in MixPHP Framework

Publication date: 2026-05-01

Last updated on: 2026-05-01

Assigner: MITRE

Description
SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted `on` array to the joinOn function in BuildHelper.php.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-01
Last Modified
2026-05-01
Generated
2026-05-07
AI Q&A
2026-05-01
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
mixphp framework From 2.0.0 (inc) to 2.2.17 (inc)
mixphp mixphp From 2.0.0 (inc) to 2.2.17 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a SQL injection issue found in the MixPHP Framework versions 2.x through 2.2.17. It occurs via a specially crafted 'on' array passed to the joinOn function in the BuildHelper.php file. SQL injection vulnerabilities allow attackers to manipulate SQL queries by injecting malicious input, potentially altering the intended database commands.


How can this vulnerability impact me? :

An attacker exploiting this SQL injection vulnerability could manipulate database queries executed by the MixPHP Framework. This can lead to unauthorized data access, data modification, or deletion. It may also allow attackers to bypass authentication, retrieve sensitive information, or execute arbitrary SQL commands, potentially compromising the security and integrity of your application and its data.


What immediate steps should I take to mitigate this vulnerability?

To mitigate the SQL injection vulnerability in MixPHP Framework versions 2.x through 2.2.17, ensure that you update to a version where the issue is fixed or apply patches that properly handle the crafted `on` array input to the joinOn function in BuildHelper.php.

The joinOn function in BuildHelper.php is responsible for constructing JOIN ON SQL conditions and includes parameter binding to prevent SQL injection. Reviewing and hardening this function or disabling unsafe inputs can help mitigate the risk.

Additionally, as a general best practice, validate and sanitize all inputs that interact with SQL query builders and consider using prepared statements with parameter binding to prevent injection attacks.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The provided information does not specify how the SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 impacts compliance with common standards and regulations such as GDPR or HIPAA.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart