CVE-2025-12137
JSON

4.9medium

Import WP – Export and Import CSV and XML files to WordPress <= 2.14.16 - Authenticated (Admin+) Arbitrary File Read

Severity
4.9medium CVSS:3.1 by Wordfence
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
jcollings Import WP – Export and Import CSV and XML files to WordPressup to 2.14.16CVE List

Classification

CWE-73

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin de WordPress “Import WP - Export and Import CSV and XML files to WordPress” es vulnerable a la lectura arbitraria de archivos en todas las versiones hasta la 2.14.16, inclusive. Esto se debe a que el endpoint de la API REST del plugin acepta rutas de archivo absolutas arbitrarias sin la validación adecuada en la función 'attach_file()' al manejar acciones 'file_local'. Esto hace posible que atacantes autenticados, con acceso de nivel de administrador y superior, lean archivos arbitrarios en el sistema de archivos del servidor, incluyendo archivos de configuración sensibles y archivos del sistema a través del parámetro 'local_url'.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/f10636ea-06aa-4186-a891-ed4bb0800c41?source=cve
https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Rest/RestManager.php#L1079
https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Importer/ImporterManager.php#L435
https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Filesystem/Filesystem.php#L212
https://plugins.trac.wordpress.org/browser/jc-importer/trunk/class/Common/Filesystem/Filesystem.php#L56
https://owasp.org/www-community/attacks/Path_Traversal
https://cwe.mitre.org/data/definitions/36.html
https://github.com/importwp/importwp/commit/94cc524aa0c81be6463a9e8d154b00220e34709c
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3387749%40jc-importer&new=3387749%40jc-importer&sfp_email=&sfph_mail=

Sources

SourceRecordLicence
CVE ListCVE-2025-12137 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-12137 changed 2026-10-18Public domain