{"id":"CVE-2026-41229","published":"2026-04-23T03:44:25Z","modified":"2026-04-23T12:31:15Z","title":"Froxlor has a PHP Code Injection via Unescaped Single Quotes in userdata.inc.php Generation (MysqlServer API)","vendor":"froxlor","product":"froxlor","tier":"tail","description":{"text":"Froxlor is open source server administration software. Prior to version 2.3.6, `PhpHelper::parseArrayToString()` writes string values into single-quoted PHP string literals without escaping single quotes. When an admin with `change_serversettings` permission adds or updates a MySQL server via the API, the `privileged_user` parameter (which has no input validation) is written unescaped into `lib/userdata.inc.php`. Since this file is `require`d on every request via `Database::getDB()`, an attacker can inject arbitrary PHP code that executes as the web server user on every subsequent page load. Version 2.3.6 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00488,"percentile":0.42953,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/froxlor/froxlor/security/advisories/GHSA-gc9w-cc93-rjv8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/froxlor/froxlor/commit/3589ddf93ab59eb2a8971f0f56cbf6266d03c4ae","tags":["x_refsource_MISC"]},{"url":"https://github.com/froxlor/froxlor/releases/tag/2.3.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.59},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"froxlor","affectedVersions":[{"vendor":"froxlor","product":"froxlor","versions":["< 2.3.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-23T12:31:11.971510Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"froxlor/froxlor","vulnerableRanges":["<2.3.6"],"patched":["2.3.6"],"from":["GHSA-gc9w-cc93-rjv8"],"provenance":"source"}],"summary":{"text":"Froxlor, an open source server administration application, has a code injection flaw in its PHP helper that writes string values into single-quoted literals without escaping single quotes, which affects the generation of the lib/userdata.inc.php file via the MySQL server API's privileged_user parameter. An attacker who holds an administrator account with the change_serversettings permission and can add or update a MySQL server through the API can inject arbitrary PHP that then runs as the web server user on every subsequent page load, since that file is required on each request.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:03Z"},"euvd":{"id":"EUVD-2026-25178","exploited":false,"provenance":"source"}}