Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. froxlor/froxlor
  4. ›
  5. GHSA-gc9w-cc93-rjv8

GHSA-gc9w-cc93-rjv8: Froxlor has a PHP Code Injection via Unescaped Single Quotes in userdata.inc.php Generation (MysqlServer API)

April 16, 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/security/advisories/GHSA-gc9w-cc93-rjv8

Code Behaviors & Features

Detect and mitigate GHSA-gc9w-cc93-rjv8 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/GHSA-gc9w-cc93-rjv8.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 08 May 2026 00:22:04 +0000.