Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege CMS account
-
DeliveryAccess Widget Editor media upload form
-
ExploitUpload PHP webshell via dmWidgetContentBaseMediaForm.php
-
ExecutionIdentify web-accessible path of uploaded file
-
PersistRequest uploaded file URL to trigger PHP execution
-
ImpactExecute arbitrary OS commands on server
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. |
| Exploitation Conditions | Exploitation requires a valid low-privilege user account on the target Diem CMS instance (confirmed by PR:L in the CVSS 4.0 vector). The attacker must have access to the Widget Editor component within dmFrontPlugin. Successful escalation to remote code execution is additionally conditional on: (1) the web server serving uploaded files from a web-accessible directory without blocking PHP execution (e.g., no 'php_flag engine off' or equivalent deny rule in the upload path), and (2) the web server being configured to parse uploaded files as PHP (default behavior for most Apache/nginx+PHP-FPM stacks). Factors limiting exploitation: authentication is required - unauthenticated exploitation is not supported by the available CVSS vector; the realistic RCE impact depends on server configuration rather than the vulnerability alone; Diem is a niche product with limited deployment footprint, reducing the population of reachable targets. |
| Impact | The provided CVSS 4.0 base vector scores impacts at VC:L/VI:L/VA:L, yielding a base score of 5.3 - this likely underestimates real-world impact for CWE-434 in a PHP application. If the upload directory is web-accessible and PHP execution is not explicitly blocked (e.g., via .htaccess deny rules or web server configuration), the realistic impact is full server compromise (VC:H/VI:H/VA:H), not Low. This discrepancy should be verified against the actual upload path configuration and web server policy. The E:P (proof-of-concept exploit exists) modifier in the provided CVSS 4.0 vector confirms public exploit code availability. No CISA KEV listing is present, so active widespread exploitation is not confirmed at time of analysis - but the low technical bar (public POC, PR:L) makes opportunistic exploitation plausible. The absence of any vendor response or patch significantly elevates risk for organizations running this software. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on a publicly accessible Diem CMS instance submits a crafted HTTP POST request to the Widget Editor media upload endpoint, uploading a PHP webshell (e.g., a file named shell.php containing system() execution code). The server stores the file without validating the extension. The attacker then browses to the uploaded file's URL (e.g., /uploads/media/shell.php), causing the web server to execute the PHP code and return command output, granting full server-side code execution. A public proof-of-concept demonstrating this technique is available via the GitHub issue referenced in the CVE disclosure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Unrestricted file upload in diem-project/diem through version 5.1.3 exposes the Widget Editor to remote authenticated attackers who can upload arbitrary file types - including executable PHP scripts - via the media form handler dmWidgetContentBaseMediaForm.php. If uploaded files reside in a web-accessible directory without server-enforced execution restrictions, this vulnerability escalates from a file-write primitive to full remote code execution. A public proof-of-concept is available through a GitHub issue; the project has not responded to the disclosure and no patch has been released.
RemediationAI
No vendor-released patch is available at time of analysis - the diem-project maintainer has not responded to the issue filed at https://github.com/diem-project/diem/issues/448. For compensating controls: configure the web server (Apache/nginx) to deny execution of PHP scripts in the media upload directory - for Apache, add an .htaccess rule with 'php_flag engine off' or deny .php/.phtml execution in the relevant Location block; note this may break any widget functionality that depends on server-side processing of uploaded files. Restrict access to the Widget Editor feature to trusted administrative accounts only using application-level role controls, effectively raising the authentication bar from PR:L to PR:H and limiting the exposed attack surface. If the Widget Editor is not actively used, disable or remove the dmFrontPlugin entirely. Monitor https://github.com/diem-project/diem/ for any future patch releases. Organizations with internet-facing Diem deployments should treat this as a high-priority configuration hardening task until a patch is available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Diem is a Symfony-based PHP content management framework. The vulnerable code path is the Widget Editor's media upload form, located at dmFrontPlugin/lib/dmWidget/media/dmWidgetContentBaseMediaForm.php, within the front plugin subsystem. The affected product is identified by CPE cpe:2.3:a:diem-project:diem:*:*:*:*:*:*:*:*. CWE-434 (Unrestricted Upload of File with Dangerous Type) describes the root cause: the application fails to validate or reject dangerous file extensions (e.g., .php, .phtml, .phar) during upload processing. In PHP web applications, this class of flaw is critical when the upload destination is a web-accessible path, as the web server will execute uploaded PHP files on request, converting a file-write issue into arbitrary server-side code execution.
Know when Diem 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
CWE-434 in a PHP web app typically enables webshell upload and execution, yielding full server compromise with scope change; PR:L per confirmed CVSS 4.0 vector.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in diem-project diem up to 5.1.3. The impacted element is an unknown function of the file dmFrontPlugin/lib/dmWidget/media/dmWidgetContentBaseMediaForm.php of the component Widget Editor. Performing a manipulation results in unrestricted upload. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
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.
Insecure direct object reference (IDOR) in the dmWidget component of diem-project/diem (versions through 5.1.3) allows u
Cryptographically weak pseudo-random number generation in the PHP CMS Diem's dmString::random() helper can produce predi
Improper certificate validation in the Google Analytics Client bundled with the Diem PHP framework (dmCorePlugin/lib/ven
An open redirect in the Diem PHP framework's Sign-In component (dmCorePlugin dmUserPlugin) allows remote attackers to re
Default-password exposure in Diem CMS through 5.1.3 allows remote attackers to access unhardened installations whose cre
Cross-site request forgery in diem-project/diem up to version 5.1.3 allows remote attackers to trigger unauthorized cons
Cross-site scripting in the dmWidget link-rendering component of Diem CMS allows authenticated low-privilege users to in
Path traversal in Diem through 5.1.3 lets an authenticated user with high backend privileges abuse the dmCodeEditor acti
OS command injection in the Diem CMS Administrative Console (diem-project/diem ≤ 5.1.3) allows authenticated administrat
Cross-site scripting in the Diem PHP CMS administrative console lets a user who already holds high-privilege console acc
Cross-site scripting in the Diem admin plugin's Version Check Service lets a high-privileged authenticated attacker supp
Weak SHA1-based password hashing in the Diem PHP framework's PluginDmUser handler (lib/model/doctrine/PluginDmUser.class
EUVD-2026-68460
GHSA-g23j-pp4q-43hx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB