CVE-2025-12137
WordPress vulnerability analysis and mitigation

Overview

The Import WP – Export and Import CSV and XML files to WordPress plugin is vulnerable to Arbitrary File Read in versions up to and including 2.14.16. The vulnerability was discovered and reported by Wordfence, with disclosure on October 31, 2025. The issue affects the plugin's REST API endpoint which accepts arbitrary absolute file paths without proper validation in the 'attachfile()' function when handling 'filelocal' actions (NVD).

Technical details

The vulnerability exists due to improper validation of file paths in the plugin's REST API endpoint. When handling 'filelocal' actions, the 'attachfile()' function accepts arbitrary absolute file paths via the 'local_url' parameter without adequate validation. This allows authenticated attackers with administrator-level access to read arbitrary files on the server's filesystem, including sensitive configuration files and system files. The vulnerability has been assigned a CVSS v3.1 score of 4.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N (Wordfence).

Impact

The vulnerability allows authenticated attackers with administrator-level access to read arbitrary files on the server's filesystem. This could lead to exposure of sensitive information contained in configuration files and system files, potentially compromising the security of the WordPress installation (NVD).

Mitigation and workarounds

The vulnerability has been patched in version 2.14.17 of the Import WP plugin. The fix implements a whitelist-based validation system using the 'iwp/importer/localfile/alloweddirectories' filter to restrict file access to specific directories. Users are strongly advised to update to version 2.14.17 or later (GitHub).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-6990HIGH8.8
  • kallyas
NoNoNov 01, 2025
CVE-2025-6574HIGH8.8
  • sf-booking
NoYesNov 01, 2025
CVE-2025-12171HIGH8.8
  • restful-syndication
NoYesNov 01, 2025
CVE-2025-6988MEDIUM6.4
  • kallyas
NoYesNov 01, 2025
CVE-2025-12137MEDIUM4.9
  • jc-importer
NoYesNov 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management