Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request with SQL injection payload
-
DeliveryRoute input to BuildHelper data function
-
ExploitBypass input validation
-
ExecutionExecute malicious SQL query
-
ImpactExtract or modify database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability requires that a developer passes unsanitized, user-controlled input directly to the BuildHelper data function without prior sanitization or parameterization. The attack does not require authentication (CVSS PR:N) and can be triggered remotely over the network against any exposed endpoint that uses this vulnerable code path. The vulnerability is not limited to specific configurations or non-default setups-it exists in any MixPHP 2.0-2.2.17 application that accepts user input and routes it through the affected data function. A limiting factor is that developers must explicitly use BuildHelper::data() with unsanitized input; applications using alternative (secure) database abstraction layers or parameterized queries are not affected. No user interaction is required (CVSS UI:N), making automated exploitation trivial once an attacker identifies a vulnerable endpoint. |
| Impact | This vulnerability presents moderate real-world risk with concerning exploitability characteristics. The CVSS vector shows network-accessible exploitation (AV:N), no authentication required (PR:N), and low attack complexity (AC:L), indicating straightforward remote attack surface. However, CISA SSVC assigns 'none' to exploitation status, suggesting no confirmed active exploitation or public tooling at analysis time, which conflicts with the 'yes' automatable rating-indicating the attack can be automated once an exploit is developed but may not yet be weaponized. The gist reference (sgInnora POC) suggests proof-of-concept code exists in private or semi-public form, creating medium exploitation risk trajectory. The vulnerability lacks availability impact (A:N) but compromises confidentiality and integrity (C:L/I:L), meaning attackers can read sensitive data or alter database records but cannot cause denial of service. For organizations running MixPHP 2.x without patches, this is a priority remediation item; for those on 2.2.18+ or using prepared statements organization-wide, risk is lower. The incomplete CPE data (cpe:2.3:a:n/a:n/a) is a data quality issue that complicates automated vulnerability scanning; verify locally that your MixPHP deployment matches the 2.0-2.2.17 range. |
| Exploit ScenarioDerived | An attacker crafts an HTTP request to a MixPHP application endpoint that accepts user input (e.g., a search form, API parameter, or POST data) and passes it unsanitized to the BuildHelper data function. The attacker includes SQL injection payloads in the data array, such as injecting OR-based conditions or UNION SELECT statements to extract sensitive information from the database. Within seconds, the malicious query executes against the backend database, returning unauthorized data (usernames, emails, hashed passwords) or modifying records. A proof-of-concept demonstrating this attack is referenced in the gist (sgInnora/fa46386840fe978a30d7e53c458f2975), though the specific payload is not reproduced here. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
SQL injection in MixPHP Framework 2.x through 2.2.17 allows unauthenticated remote attackers to read or modify database contents via a crafted data array passed to the data function in BuildHelper.php. The vulnerability has an automatable exploitation path per CISA SSVC but no public exploit code or active KEV listing identified at analysis time. CVSS 6.5 (medium) reflects network-accessible SQL injection with partial confidentiality and integrity impact but no availability impact.
RemediationAI
Upgrade MixPHP Framework to version 2.2.18 or later, which patches the SQL injection in the data function by implementing proper parameterized queries or input sanitization. Consult the official GitHub repository (https://github.com/mix-php/mix) for release notes and upgrade instructions specific to your version. If immediate upgrade is not possible, implement a compensating control by disabling direct use of the vulnerable data function and instead enforcing parameterized query (prepared statement) usage for all database operations; review all code calling BuildHelper::data() and refactor to use parameterized inputs where possible, verifying via code review before deployment. This mitigation has minimal performance overhead but requires developer effort and testing to implement safely across an application. Additionally, implement a Web Application Firewall (WAF) rule to detect and block common SQL injection patterns in input data (e.g., UNION SELECT, OR 1=1), though this is a defense-in-depth measure and not a substitute for patching. Monitor database logs for anomalous SQL patterns as a detective control while awaiting patches.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MixPHP is a PHP web application framework. The vulnerability exists in the BuildHelper.php module, specifically in the data function which handles database query construction. The root cause is CWE-89 (SQL Injection), a classic failure to properly sanitize or parameterize user-supplied input before embedding it into SQL queries. When a developer passes an unsanitized data array to this helper function, attackers can inject arbitrary SQL syntax through the array elements, allowing them to manipulate query logic. The affected versions 2.0.0 through 2.2.17 do not properly escape or use prepared statements for data array inputs, creating a direct SQL injection vector in database operations.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
SQL injection vulnerability in MixPHP Framework 2.x thru 2.2.17 via crafted data array to the data function in BuildHelper.php.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-26675
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB