Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3474: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in roxnor EmailKit – Email Customizer for WooCommerce & WP

0
Medium
VulnerabilityCVE-2026-3474cvecve-2026-3474cwe-22
Published: Fri Mar 20 2026 (03/20/2026, 23:25:14 UTC)
Source: CVE Database V5
Vendor/Project: roxnor
Product: EmailKit – Email Customizer for WooCommerce & WP

Description

The EmailKit – Email Customizer for WooCommerce & WP plugin for WordPress is vulnerable to arbitrary file read via path traversal in all versions up to, and including, 1.6.3. This is due to the action() function in the TemplateData class passing user-supplied input from the 'emailkit-editor-template' REST API parameter directly to file_get_contents() without any path validation, sanitization, or restriction to an allowed directory. This makes it possible for authenticated attackers, with Administrator-level access, to read arbitrary files on the server (such as /etc/passwd or wp-config.php) by supplying a traversal path. The file contents are stored as post meta and can subsequently be retrieved via the fetch-data REST API endpoint. Notably, the CheckForm class in the same plugin implements proper path validation using realpath() and directory restriction, demonstrating that the developer was aware of the risk but failed to apply the same protections to the TemplateData endpoint.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 11:34:46 UTC

Technical Analysis

CVE-2026-3474 is a path traversal vulnerability (CWE-22) in the EmailKit – Email Customizer for WooCommerce & WP plugin for WordPress, affecting all versions up to 1.6.3. The issue exists in the TemplateData class's action() function, which takes user input from the 'emailkit-editor-template' REST API parameter and passes it directly to file_get_contents() without validating or restricting the file path. This allows authenticated users with Administrator privileges to read arbitrary files on the server by supplying traversal sequences. The file contents are stored as post meta and can be retrieved via another REST API endpoint. The presence of proper path validation in another class (CheckForm) indicates developer awareness but inconsistent application of security controls. The vulnerability has a CVSS 3.1 base score of 4.9 (medium severity). No patch or official fix is currently documented.

Potential Impact

An authenticated attacker with Administrator-level access can exploit this vulnerability to read arbitrary files on the server hosting the WordPress site. This may include sensitive files such as /etc/passwd or wp-config.php, potentially exposing credentials or configuration details. The vulnerability does not allow code execution or denial of service but compromises confidentiality of server files. The impact is limited by the requirement for Administrator privileges and the absence of known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Administrator access to trusted users only and monitor for unusual activity involving the 'emailkit-editor-template' REST API endpoint. Consider disabling or restricting the plugin if possible. Since the vulnerability requires Administrator privileges, limiting administrative accounts reduces risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-03T13:02:05.586Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bdda56b462d409683a8c08

Added to database: 3/20/2026, 11:37:58 PM

Last enriched: 4/9/2026, 11:34:46 AM

Last updated: 4/30/2026, 11:55:18 AM

Views: 61

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses