Code Injection in baserCMS - #VU140523

 

Code Injection in baserCMS - #VU140523

Published: July 30, 2026


Vulnerability identifier: #VU140523
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to code injection in schema file loading in BcDatabaseService.php when restoring a backup containing a crafted schema PHP file. A remote user can upload a malicious backup archive to execute arbitrary code.

The schema validation can be bypassed because PHP code outside the class definition executes unconditionally during require_once processing.


Affected software

baserCMS

Remediation

Install security update from vendor's website.

baserCMS - update to 5.3.0

External References

Related Security Bulletins