Arbitrary file upload in Basercms
CVE-2025-32957
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.
Vulnerability class: Unrestricted File Upload
EPSS: 0.006 (44.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N.
Affected products
- Basercms
- Baserproject Basercms — versions < 5.2.3
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2025-32957?
- CVE-2025-32957 is a high-severity vulnerability in Basercms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.7/10. Published 2026-03-31.
- How severe is CVE-2025-32957?
- High severity. CVSS v3 base score is 8.7 out of 10.