Loading...
Skip to main content

CVE-2025-32957 — Vulnerability in baserproject/basercms — CVE Details

HIGH

baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE)

Published March 31, 2026Updated September 10, 2026Source: osv

Summary

### 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 ![image](https://github.com/user-attachments/assets/9e59768a-4a8e-472d-aaef-5d54546080f6) 1. Load file shell (insecure `require_once`) ![image](https://github.com/user-attachments/assets/8f7919a2-c7f3-4ae1-af6c-1b0057e4ba22) ![image](https://github.com/user-attachments/assets/c10ef049-459d-429e-a608-8fb220c3387f) ### Impact Remote Code Execution (RCE)

Advisory Timeline

  • First published March 31, 2026 (195 days ago).
  • Last revised September 10, 2026 — 162 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update baserproject/basercms to 5.2.3 or later
composer require "baserproject/basercms:^5.2.3"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
baserproject/basercms
packagist
0.0.1, 0.0.2, 0.0.3, 0.0.4 (+151 more)5.2.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-434
    Unrestricted File UploadMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2025-32957?
baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE) This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2025-32957?
CVE-2025-32957 affects baserproject/basercms. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-32957 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-hv78-cwp4-8r7r

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies