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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.006 (45.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 45.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Basercms
- Baserproject Basercms — versions < 5.2.3
Weakness classification (CWE)
References
- github.com/baserproject/basercms/security/advisories/GHSA-hv78-cwp4-8r7r (Exploit, Vendor Advisory)
- basercms.net/security/JVN_20837860 (Vendor Advisory)
- github.com/baserproject/basercms/releases/tag/5.2.3 (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.