Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as WordPress admin
-
DeliveryCraft ZIP with 'shell.php.' entry
-
ExploitSubmit to media import (ajax_import_media_start)
-
ExecutionBypass extension allow-list via trailing dot
-
PersistFile copied into wp-content/uploads
-
ImpactRequest uploaded file to execute PHP
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 | Requires an authenticated session with administrator-level privileges or above (CVSS PR:H) and that the Post Export Import with Media plugin (≤ 1.13.1) be installed and active with its media-import feature reachable. The concrete trigger is a ZIP archive submitted to the import flow containing an entry whose name ends in a trailing dot (e.g. 'shell.php.'), which causes pathinfo() to return an empty extension and bypasses the ajax_import_media_start() allow-list. Exploitation is further limited by the need for the target webserver to execute .php files placed in wp-content/uploads - on servers configured to deny PHP execution in the uploads directory, the uploaded file lands but will not run, blocking code execution. No user interaction is required (UI:N). |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H = 7.2 High) is internally consistent with the description: network-reachable AJAX endpoint, low complexity, no user interaction, but high privileges required. The single most important limiting signal is PR:H - the attacker must already hold administrator access, which sharply narrows the real-world threat to malicious/compromised admins, multi-admin sites, or scenarios where admin credentials are phished or reused. There is no CISA KEV listing and no public exploit identified at time of analysis; no EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. No SSVC decision data was supplied. Net assessment: technically a clean RCE, but the admin prerequisite makes this a moderate, targeted-risk issue rather than an internet-wide emergency - prioritize on high-value or shared-admin WordPress installations, deprioritize on single-trusted-admin sites where an admin could already achieve code execution through other means (e.g. the theme/plugin editor). |
| Exploit ScenarioDerived | An attacker who obtains or abuses WordPress administrator access crafts a ZIP archive containing a PHP webshell named with a trailing dot (e.g. 'shell.php.'), then triggers the plugin's media import via the ajax_import_media_start() endpoint. The trailing-dot name slips past the extension allow-list, the file lands in wp-content/uploads, and the attacker browses to it to execute arbitrary PHP as the webserver user. No public exploit is identified at time of analysis, but the technique is straightforward given the low attack complexity (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Remote code execution in the Post Export Import with Media WordPress plugin (all versions ≤ 1.13.1) is possible because a trailing-dot filename bypass (e.g. 'shell.php.') defeats the extension allow-list in ajax_import_media_start(), letting an administrator-level user smuggle an executable PHP file into the uploads directory during a media import. Reported by Wordfence, the flaw carries CVSS 7.2 and has no public exploit identified at time of analysis; exploitation requires existing administrator (PR:H) access, making it primarily a hardening/defense-in-depth bypass rather than a mass-exploitable entry point.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - a WordPress plugin trac changeset (3600506, https://plugins.trac.wordpress.org/changeset?reponame=&old=3600506%40post-export-import-with-media&new=3600506%40post-export-import-with-media) indicates the code was corrected, but no tagged patched release above 1.13.1 is confirmed in the supplied data, so verify the fixed version against the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/42f94f80-6157-4778-ad69-184943134fd2?source=cve) and update as soon as a release above 1.13.1 is published. As compensating controls until a confirmed patch: restrict who holds WordPress administrator accounts and enforce MFA on them to shrink the PR:H attacker pool; deactivate the Post Export Import with Media plugin if the media-import feature is not in active use (trade-off: import/export workflows stop working); and add a webserver rule denying PHP execution within wp-content/uploads (e.g. an .htaccess/nginx location block), which blocks execution of any smuggled .php file with the side effect of breaking any legitimate plugin that intentionally executes PHP from uploads (rare). Also set DISALLOW_FILE_EDIT to reduce the blast radius of a compromised admin.
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
The vulnerability lives in the plugin's media-import path (class-media-handler.php). When a ZIP archive is imported, ajax_import_media_start() validates each entry's extension against an allow-list using PHP's pathinfo(). For a raw ZIP entry name like 'shell.php.' (a trailing dot), pathinfo() returns an empty string for PATHINFO_EXTENSION, so the guard treats the entry as having no disallowed extension and skips the check. The entry is extracted to a temporary location and then import_media_file_secure() copies it into the WordPress uploads directory without re-validating the extension. This is a classic CWE-434 (Unrestricted Upload of File with Dangerous Type), where reliance on string-parsing of an attacker-controlled filename creates a parser-differential: PHP's pathinfo() and the underlying filesystem/webserver disagree on the effective extension, and on many configurations 'shell.php.' is served/executed as PHP. The affected component is the wpazleen post_export_import_with_media plugin per CPE cpe:2.3:a:wpazleen:post_export_import_with_media:*.
Know when Post Export Import With Media 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:U/C:H/I:H/A:H
Network-reachable AJAX endpoint with low complexity and no interaction, but requires existing admin access (PR:H); resulting webshell yields full C/I/A impact without scope change.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Post Export Import with Media plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.13.1 via the import_media_file_secure function. This is due to insufficient file extension validation caused by a trailing-dot filename bypass, where the extension allow-list check in ajax_import_media_start() uses pathinfo() on the raw ZIP entry name (e.g., 'shell.php.'), which returns an empty string for the extension, causing the allow-list guard to be skipped and the file to be extracted to a temporary location, after which import_media_file_secure() copies it into the WordPress uploads directory without re-validating the extension. This makes it possible for authenticated attackers, with administrator-level access and above, to upload files that may be executable, which makes remote code execution possible.
Executive ViewAI
The Post Export Import with Media WordPress plugin (versions ≤1.13.1) contains a remote code execution vulnerability (CVSS 7.2) that allows administrator-level users to bypass file upload restrictions and execute arbitrary PHP code on affected servers. This weakness presents a hardening risk for WordPress environments where admin accounts may be compromised or misused by insiders, particularly in multi-user hosting or delegated administration scenarios. Immediate inventory and access controls are critical given the absence of an available vendor patch.
Disable the plugin entirely if not required for business operations; restrict administrator-level media import access through WordPress role-based access controls; enable detailed logging and alerting on administrator plugin activity; enforce multi-factor authentication for all administrator accounts; conduct quarterly privileged access reviews; implement database-level monitoring to detect unauthorized PHP file writes to uploads directory.
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.
PHP Object Injection in the Post Export Import with Media WordPress plugin (versions ≤1.17.1) allows authenticated admin
Authenticated administrator-level users of the WordPress plugin Post Export Import with Media through 1.17.2 can read fi
Authenticated directory traversal in the Post Export Import with Media plugin for WordPress through 1.17.1 allows admini
EUVD-2026-42785
GHSA-mxq7-wpp5-2fc9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB