8.7High

CVE-2025-32957baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE)

baserproject basercms Published: (7 months ago)

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.

Weakness (CWE): CWE-434

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
basercms basercms < 5.2.3
baserproject basercms < 5.2.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* < 5.2.3