Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world risk assessment reveals moderate practical threat despite the high CVSS score of 8.7. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:C) indicates network-accessible attacks with low complexity but critically requires high privileges (administrator access). The EPSS probability of 0.00043 suggests very low likelihood of mass exploitation in the wild. No CISA KEV listing exists, indicating no confirmed active exploitation. The attack requires pre-existing administrator credentials, significantly limiting the attack surface to insider threats, compromised admin accounts, or social engineering scenarios. The scope change (S:C) indicates potential container escape or privilege escalation beyond the application boundary, elevating impact. Primary risk scenarios involve supply chain attacks where adversaries gain admin access through credential compromise, or malicious insiders abusing legitimate restore functionality. Organizations with strict admin access controls and audit logging face substantially lower practical risk than the raw CVSS score suggests. |
| Exploit ScenarioDerived | An attacker who has compromised administrator credentials or operates as a malicious insider accesses the baserCMS administrative interface and navigates to the backup restore functionality. The attacker crafts a ZIP archive containing a seemingly legitimate backup structure but embeds a malicious PHP webshell or backdoor file within the archive. Upon uploading and initiating the restore process, baserCMS automatically extracts the ZIP contents and executes require_once on the malicious PHP file without validation. The embedded code executes with full application privileges, establishing persistent backdoor access, exfiltrating sensitive database contents, or pivoting to other systems within the network environment. The scope change in the CVSS vector indicates potential for container escape or compromise of underlying infrastructure beyond the CMS application itself. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Arbitrary code execution in baserCMS versions before 5.2.3 allows authenticated administrators to achieve remote code execution via malicious PHP files embedded in backup restore archives. The vulnerability exploits unsafe file inclusion during ZIP extraction in the restore function, where uploaded PHP files are executed via require_once without filename validation. No public exploit identified at time of analysis, though EPSS score of 0.00043 (0.043%) and CVSS 8.7 indicate moderate theoretical risk mitigated by high privilege requirements (PR:H).
RemediationAI
Upgrade immediately to baserCMS version 5.2.3 or later, which includes patches addressing the unsafe file inclusion vulnerability in the restore function. The patched release is available at https://github.com/baserproject/basercms/releases/tag/5.2.3 and includes validation controls preventing arbitrary PHP execution during ZIP extraction. Organizations unable to upgrade immediately should implement compensating controls including restricting restore functionality to super-administrators only, implementing file upload scanning with antivirus/malware detection, monitoring restore operations through security information and event management systems, and auditing all ZIP archives before restoration. Review administrator access logs for suspicious restore operations and consider temporarily disabling the restore feature if not operationally required. Consult the official security advisory at https://github.com/baserproject/basercms/security/advisories/GHSA-hv78-cwp4-8r7r for additional vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
baserCMS is an open-source PHP-based content management system and website development framework. The vulnerability stems from a CWE-434 (Unrestricted Upload of File with Dangerous Type) weakness in the backup restoration functionality. When administrators upload ZIP archives through the restore feature, the application automatically extracts the contents and includes PHP files using require_once without implementing proper file type validation, path sanitization, or filename restrictions. This unsafe file handling pattern allows arbitrary PHP code within the archive to execute in the application context with full privileges. The affected product CPE (cpe:2.3:a:baserproject:basercms) covers all versions prior to 5.2.3, as confirmed by the GitHub security advisory GHSA-hv78-cwp4-8r7r and the vendor's security bulletin JVN_20837860.
Know when Basercms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
baserCMS versions before 5.2.3 contain a critical remote code execution vulnerability in the backup restore function that allows authenticated administrators to execute arbitrary PHP code through malicious files embedded in backup archives. This directly threatens the integrity and confidentiality of hosted applications and their underlying data, requiring immediate access controls and monitoring to prevent insider threats or compromised administrator accounts from exploiting the flaw.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict backup-restore functionality to only trusted administrators via role-based access control; (2) disable PHP execution in upload and backup directories via Apache/Nginx configuration (.htaccess or nginx.conf); (3) implement strict file type validation rejecting any files with .php extensions within backup archives before extraction; (4) enforce multi-factor authentication on all administrator accounts; (5) monitor backup-restore activity with alerting on suspicious file operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in baserCMS Multiple Vulnerabilities
View all 9In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the
Authorization bypass in baserCMS before 5.3.0 lets an authenticated operator account read administrator-restricted confi
SQL injection vulnerability in the baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to execute arb
baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
SQL injection in baserCMS 5.0.0 through 5.3.1 and 5.4.0 through 5.4.1 allows a user who can log into the admin panel to
baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows an attacker to execute arbitrary PHP code on the server via unspec
EUVD-2025-209130
GHSA-hv78-cwp4-8r7r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB