Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/post-export-import-with-media/tags/1.
- https://plugins.trac.wordpress.org/browser/post-export-import-with-media/tags/1.
- https://plugins.trac.wordpress.org/browser/post-export-import-with-media/tags/1.
- https://plugins.trac.wordpress.org/browser/post-export-import-with-media/tags/1.
- https://plugins.trac.wordpress.org/browser/post-export-import-with-media/tags/1.
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3600506%40post-export
- https://www.wordfence.com/threat-intel/vulnerabilities/id/42f94f80-6157-4778-ad6
FAQ
What is CVE-2026-13430?
CVE-2026-13430 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 ins...
How severe is CVE-2026-13430?
CVE-2026-13430 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-13430?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.