CVE-2025-14059
JSON

6.5medium

EmailKit <= 1.6.1 - Authenticated (Author+) Arbitrary File Read via Path Traversal

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

Description

The EmailKit plugin for WordPress is vulnerable to Arbitrary File Read via Path Traversal in all versions up to, and including, 1.6.1. This is due to missing path validation in the create_template REST API endpoint where user-controlled input from the emailkit-editor-template parameter is passed directly to file_get_contents() without sanitization. This makes it possible for authenticated attackers with Author-level permissions or higher to read arbitrary files on the server, including sensitive configuration files like /etc/passwd and wp-config.php, via the REST API. The file contents are stored in post meta and can be exfiltrated through MetForm's email confirmation feature.

Affected

Product or packageVersionsReported by
roxnor EmailKit – Email Customizer for WooCommerce & WPup to 1.6.1CVE List

Classification

CWE-73

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

What each source says

CVE List

The EmailKit plugin for WordPress is vulnerable to Arbitrary File Read via Path Traversal in all versions up to, and including, 1.6.1. This is due to missing path validation in the create_template REST API endpoint where user-controlled input from the emailkit-editor-template parameter is passed directly to file_get_contents() without sanitization. This makes it possible for authenticated attackers with Author-level permissions or higher to read arbitrary files on the server, including sensitive configuration files like /etc/passwd and wp-config.php, via the REST API. The file contents are stored in post meta and can be exfiltrated through MetForm's email confirmation feature.

NVD (es)

El plugin EmailKit para WordPress es vulnerable a la lectura arbitraria de archivos a través de salto de ruta en todas las versiones hasta la 1.6.1, inclusive. Esto se debe a la falta de validación de ruta en el endpoint de la API REST create_template, donde la entrada controlada por el usuario del parámetro emailkit-editor-template se pasa directamente a file_get_contents() sin sanitización. Esto hace posible que atacantes autenticados con permisos de nivel de Autor o superiores lean archivos arbitrarios en el servidor, incluyendo archivos de configuración sensibles como /etc /passwd y wp-config.php, a través de la API REST. El contenido del archivo se almacena en post meta y puede ser exfiltrado a través de la función de confirmación de correo electrónico de MetForm.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-14059 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-14059 changed 2026-06-17Public domain