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

2026-01-06 14:21
Dmitrii Ignatyev

Strategic Overview

Status
Patched in 1.6.2
Affected Version<= 1.6.1
CVSS6.5Medium
CVECVE-2025-14059
View all EmailKit – Email Customizer for WooCommerce & WP vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 1.6.2, or a newer patched version --- IDENTIFIER: CWE-73 (External Control of File Name or Path) The product allows user input to control or influence paths or file names that are used in filesystem operations.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C