Post Export Import with Media <= 1.13.1 - Authenticated (Administrator+) Arbitrary File Upload via Trailing-Dot Filename Bypass in ZIP Media Import

7.2
Unrestricted Upload of File with Dangerous Type
CVE CVE-2026-13430
CVSS 7.2 (High)
Publicly Published July 9, 2026
Last Updated July 10, 2026
Researchers Chloe Chamberland - Wordfence
Wordfence PRISM - Wordfence

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.

Learn more about Arbitrary File Upload vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Post Export Import with Media

Software Type Plugin
Software Slug post-export-import-with-media (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.13.2, or a newer patched version
Affected Version
  • <= 1.13.1
Patched Version
  • 1.13.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation