Skip to content

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

MediumCVSS 6.5 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPWordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
roxnor EmailKit – Email Customizer for WooCommerce & WP <= 1.6.1 after 1.6.1 Fixed
wordpress emailkit(WordPress) < 1.6.2 1.6.2 Fixed

Affected products

ProductAffected versionsFixed in
roxnor EmailKit – Email Customizer for WooCommerce & WP <= 1.6.1 No fix listed
wordpress emailkit(WordPress) < 1.6.2 1.6.2

References