baserCMS versions before 5.3.0 contain a SQL injection vulnerability in BcDatabaseService.php that allows authenticated administrators to inject attacker-controlled table names and configuration values into SQL statements. The vulnerability affects sequence update, CSV export, and table management operations. Attackers can chain this with a backup restore code injection flaw where PHP code outside class definitions in schema files executes unconditionally upon loading. This chaining allows attackers to plant malicious table names and trigger error-based SQL injection against a PostgreSQL backend. The exploit can retrieve database version information, schema contents, and arbitrary data. The vulnerability has been patched in baserCMS version 5.3.0.