Skip to main content

Post Export Import with Media CVE-2026-13430

| EUVDEUVD-2026-42785 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-07-10 Wordfence GHSA-mxq7-wpp5-2fc9
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as WordPress admin
  2. Delivery
    Craft ZIP with 'shell.php.' entry
  3. Exploit
    Submit to media import (ajax_import_media_start)
  4. Execution
    Bypass extension allow-list via trailing dot
  5. Persist
    File copied into wp-content/uploads
  6. Impact
    Request 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Post Export Import with Media 0 ≤1.13.1

Affected Packages

euvd post_export_import_with_media no fix

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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 55% exploitable
Prevalence
Low
niche WordPress import/export plugin, limited install base
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy