Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. froxlor/froxlor
  4. ›
  5. CVE-2026-41229

CVE-2026-41229: Froxlor has a PHP Code Injection via Unescaped Single Quotes in userdata.inc.php Generation (MysqlServer API)

April 16, 2026 (updated April 24, 2026)

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 required 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.

References

  • github.com/advisories/GHSA-gc9w-cc93-rjv8
  • github.com/froxlor/froxlor
  • github.com/froxlor/froxlor/commit/3589ddf93ab59eb2a8971f0f56cbf6266d03c4ae
  • github.com/froxlor/froxlor/releases/tag/2.3.6
  • github.com/froxlor/froxlor/security/advisories/GHSA-gc9w-cc93-rjv8
  • nvd.nist.gov/vuln/detail/CVE-2026-41229

Code Behaviors & Features

Detect and mitigate CVE-2026-41229 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.6

Fixed versions

  • 2.3.6

Solution

Upgrade to version 2.3.6 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/froxlor/froxlor/CVE-2026-41229.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 13 May 2026 00:18:10 +0000.