CVE-2025-32957
HIGH8.7EPSS 0.03%baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE)
Description
### Details 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. Vector: Malicious ZIP upload + insecure `require_once` ### PoC 1. Restore backup  1. Load file shell (insecure `require_once`)   ### Impact Remote Code Execution (RCE)
Affected packages (1)
- Packagist/baserproject/basercmsfrom 0, < 5.2.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |