Skip to content
OpenAdvisories
High · 8.7 CVE-2025-32957 EUVD-2025-209130GHSA-hv78-cwp4-8r7r

baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE)

Published Mar 31, 2026 · Updated Mar 31, 2026 · Assigned by GitHub_M

Description

baserCMS is a website development framework. Prior to version 5.2.3, the application's restore function allows users to upload a .zip file, which is then automatically extracted. A PHP file inside the archive is included using require_once without validating or restricting the filename. An attacker can craft a malicious PHP file within the zip and achieve arbitrary code execution when it is included. This issue has been patched in version 5.2.3.

Affected products

VendorProductAffectedFixed
baserproject basercms < 5.2.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist baserproject/basercms < 5.2.3 5.2.3 GHSA-hv78-cwp4-8r7r

References