What the vulnerability does
01Description
The WPC Smart Messages for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.2.1 via the get_condition_value function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
Explanation of Vulnerability in Simple Terms
02Summary
WPC Smart Messages for WooCommerce versions up to 4.2.1 contain a code injection vulnerability. An authenticated user with low privileges can inject and execute arbitrary code on the site. This affects confidentiality, integrity, and availability of the WooCommerce installation. Update to a version newer than 4.2.1 immediately.
What an attacker can do
03Attacker Capabilities
Run arbitrary code on the site with full access to the database and files.
Potential impact on your site
04Site Impact
Attackers with basic user accounts can compromise your entire WooCommerce site, steal data, modify orders, or inject malware.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege user account (e.g., customer or subscriber role).
Key dates
06Disclosure timeline
October 29, 2024
CVE published
April 8, 2026
Record updated