Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://cwe.mitre.org/data/definitions/36.html
- https://github.com/importwp/importwp/commit/94cc524aa0c81be6463a9e8d154b00220e34
- https://owasp.org/www-community/attacks/Path_Traversal
- https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Filesy
- https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Filesy
- https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Import
- https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Rest/R
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f10636ea-06aa-4186-a89
FAQ
What is CVE-2025-12137?
CVE-2025-12137 is a vulnerability with a CVSS score of 4.9 (MEDIUM). 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 RE...
How severe is CVE-2025-12137?
CVE-2025-12137 has been rated MEDIUM with a CVSS base score of 4.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-12137?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.