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

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T00:43:48.908Z
- Modified: 2026-09-10T03:50:39.484Z
- Also known as: GHSA-hv78-cwp4-8r7r
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- baserproject basercms: < 5.2.3
- baserproject/basercms (Packagist): before 5.2.3
- basercms basercms: before 5.2.3

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/baserproject/basercms/security/advisories/GHSA-hv78-cwp4-8r7r> (exploit, vendor-advisory, web)
- <https://basercms.net/security/JVN_20837860> (vendor-advisory, web)
- <https://github.com/baserproject/basercms/releases/tag/5.2.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32957> (advisory)
- <https://github.com/baserproject/basercms> (package)

## Sources

- CVE List: [CVE-2025-32957](https://www.cve.org/CVERecord?id=CVE-2025-32957), CVE Terms of Use, modified 2026-03-31
- GitHub Advisory Database: [GHSA-hv78-cwp4-8r7r](https://github.com/advisories/GHSA-hv78-cwp4-8r7r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-32957](https://nvd.nist.gov/vuln/detail/CVE-2025-32957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32957 · Whole record: https://cve.day/CVE-2025-32957.json · Rebuilt by cve.day 2026-11-25T22:59:12.007Z
