CVE-2025-12137
The Import WP – Export and Import CSV and XML files to WordPress …
The Import WP – Export and Import CSV and XML files to WordPress plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 2.14.16. This is due to the plugin's REST API endpoint accepting arbitrary absolute file paths without proper validation in the 'attach_file()' function when handling 'file_local' actions. This makes it possible for authenticated attackers, with administrator-level access and above, to read arbitrary files on the server's filesystem, including sensitive configuration files and system files via the 'local_url' parameter.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- cwe.mitre.org/data/definitions/36.html
- github.com/importwp/importwp/commit/94cc524aa0c81be6463a9e8d154b00220e34709c
- owasp.org/www-community/attacks/Path_Traversal
- plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Filesystem/Filesystem.ph
- plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Filesystem/Filesystem.ph
- plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Importer/ImporterManager
- plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Rest/RestManager.php#L10
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3387749%40jc-impo
- nvd.nist.gov/vuln/detail/CVE-2025-12137
- cve.org/CVERecord?id=CVE-2025-12137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.