Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M
CVE-2025-32957baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE)
High 8.7
In plain English
A high-severity unrestricted file upload in basercms from baserproject. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | baserproject/basercms | 5.2.3 | GHSA-hv78-cwp4-8r7r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| baserproject | basercms | < 5.2.3 |
Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/baserproject/basercms/security/advisories/GHSA-hv78-cwp4-8r7r x_refsource_CONFIRM
- https://basercms.net/security/JVN_20837860 x_refsource_MISC
- https://github.com/baserproject/basercms/releases/tag/5.2.3 x_refsource_MISC