WPC Smart Messages for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wpc-smart-messages

WPC Smart Messages help you display messages throughout your store through smart conditional logic settings.

1K active installs v4.2.7 PHP + WP 4.0+ Updated Dec 24, 2025
messagemessagesnoticewoocommercewpc
73
B · Generally Safe
CVEs total3
Unpatched1
Last CVESep 28, 2025
Safety Verdict

Is WPC Smart Messages for WooCommerce Safe to Use in 2026?

Mostly Safe

Score 73/100

WPC Smart Messages for WooCommerce is generally safe to use. 3 past CVEs were resolved. Keep it updated.

3 known CVEs 1 unpatched Last CVE: Sep 28, 2025Updated 3mo ago
Risk Assessment

The 'wpc-smart-messages' plugin v4.2.7 exhibits a mixed security posture. On the positive side, static analysis reveals a strong adherence to best practices in several areas, including a complete absence of raw SQL queries (100% prepared statements), a high rate of output escaping (95%), and robust nonce checks and capability checks present on all identified entry points. Taint analysis also shows no unsanitized paths or critical/high severity vulnerabilities, indicating that the developer has likely put effort into preventing common injection flaws. However, the presence of the `unserialize` function is a notable concern, as it can be a vector for deserialization vulnerabilities if not handled with extreme care and proper input validation.

The plugin's vulnerability history is a more significant area of concern. With three known CVEs, one of which remains unpatched, and a recent vulnerability reported in late 2025, this indicates a pattern of past security weaknesses. The types of past vulnerabilities, including Cross-site Scripting, PHP Remote File Inclusion, and Missing Authorization, are serious and have historically led to significant compromises. While the current static analysis doesn't reveal these exact issues, the history suggests that the plugin may be susceptible to complex attacks or that past vulnerabilities may not have been fully eradicated, especially given the unpatched CVE.

In conclusion, while the current version shows improvements in secure coding practices like prepared statements and output escaping, the lingering unpatched vulnerability and the plugin's history of severe security flaws warrant caution. The potential risk from `unserialize` should also be considered, especially in conjunction with the past authorization issues. Users should prioritize updating to a version that addresses the unpatched CVE and remain vigilant for future security advisories.

Key Concerns

  • Unpatched CVE present
  • Dangerous function: unserialize found
  • Past vulnerabilities include RFI and XSS
Vulnerabilities
3

WPC Smart Messages for WooCommerce Security Vulnerabilities

CVEs by Year

2 CVEs in 2024
2024
1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

High
1
Medium
2

3 total CVEs

CVE-2025-62903medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WPC Smart Messages for WooCommerce <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting

Sep 28, 2025Unpatched
CVE-2024-10436high · 8.8Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

WPC Smart Messages for WooCommerce <= 4.2.1 - Authenticated (Subscriber+) Local File Inclusion

Oct 28, 2024 Patched in 4.2.2 (1d)
CVE-2024-10437medium · 4.3Missing Authorization

WPC Smart Messages for WooCommerce <= 4.2.1 - Missing Authorization to Authenticated (Subscriber+) Message Activation/Deactivation

Oct 28, 2024 Patched in 4.2.2 (1d)
Code Analysis
Analyzed Mar 16, 2026

WPC Smart Messages for WooCommerce Code Analysis

Dangerous Functions
3
Raw SQL Queries
0
0 prepared
Unescaped Output
16
285 escaped
Nonce Checks
11
Capability Checks
6
File Operations
0
External Requests
3
Bundled Libraries
0

Dangerous Functions Found

unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:111
unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:189
unserialize$plugins = unserialize( $response['body'] );includes\kit\wpc-kit.php:98

Output Escaping

95% escaped301 total outputs
Data Flows
All sanitized

Data Flow Analysis

6 flows
ajax_add_condition (includes\class-backend.php:349)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WPC Smart Messages for WooCommerce Attack Surface

Entry Points28
Unprotected0

AJAX Handlers 9

authwp_ajax_wpcsm_get_condition_valueincludes\class-backend.php:25
authwp_ajax_wpcsm_add_conditionincludes\class-backend.php:26
authwp_ajax_wpcsm_activateincludes\class-backend.php:27
authwp_ajax_wpcsm_search_termincludes\class-backend.php:28
authwp_ajax_wpc_get_pluginsincludes\dashboard\wpc-dashboard.php:19
authwp_ajax_wpc_get_suggestionincludes\dashboard\wpc-dashboard.php:20
authwp_ajax_wpc_exportincludes\dashboard\wpc-dashboard.php:21
authwp_ajax_wpc_importincludes\dashboard\wpc-dashboard.php:22
authwp_ajax_wpc_get_essential_kitincludes\kit\wpc-kit.php:22

Shortcodes 19

[wpcsm] includes\class-frontend.php:28
[wpc_smart_message] includes\class-frontend.php:29
[wpcsm_product_data] includes\class-shortcode.php:22
[wpcsm_product_field] includes\class-shortcode.php:23
[wpcsm_product_terms] includes\class-shortcode.php:24
[wpcsm_product_random_number] includes\class-shortcode.php:25
[wpcsm_best_seller] includes\class-shortcode.php:26
[wpcsm_recent_order] includes\class-shortcode.php:27
[wpcsm_price] includes\class-shortcode.php:28
[wpcsm_saved_percentage] includes\class-shortcode.php:29
[wpcsm_saved_amount] includes\class-shortcode.php:30
[wpcsm_live_number] includes\class-shortcode.php:31
[wpcsm_random_number] includes\class-shortcode.php:32
[wpcsm_human_time_diff] includes\class-shortcode.php:33
[wpcsm_cart_total] includes\class-shortcode.php:34
[wpcsm_cart_total_diff] includes\class-shortcode.php:35
[wpcsm_cart_count] includes\class-shortcode.php:36
[wpcsm_cart_count_diff] includes\class-shortcode.php:37
[wpcsm_text_rotator] includes\class-shortcode.php:38
WordPress Hooks 16
actioninitincludes\class-backend.php:17
actionadmin_enqueue_scriptsincludes\class-backend.php:18
actionadd_meta_boxesincludes\class-backend.php:21
actionsave_post_wpc_smart_messageincludes\class-backend.php:22
filtermanage_edit-wpc_smart_message_columnsincludes\class-backend.php:31
actionmanage_wpc_smart_message_posts_custom_columnincludes\class-backend.php:32
actioninitincludes\class-frontend.php:21
actionwp_enqueue_scriptsincludes\class-frontend.php:22
actioninitincludes\class-shortcode.php:18
actionadmin_enqueue_scriptsincludes\dashboard\wpc-dashboard.php:17
actionadmin_menuincludes\dashboard\wpc-dashboard.php:18
actionbefore_woocommerce_initincludes\hpos.php:7
actionadmin_enqueue_scriptsincludes\kit\wpc-kit.php:20
actionadmin_menuincludes\kit\wpc-kit.php:21
actionplugins_loadedwpc-smart-messages.php:39
actionadmin_noticeswpc-smart-messages.php:43
Maintenance & Trust

WPC Smart Messages for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 24, 2025
PHP min version
Downloads21K

Community Trust

Rating86/100
Number of ratings6
Active installs1K
Developer Profile

WPC Smart Messages for WooCommerce Developer Profile

WPClever

71 plugins · 441K total installs

87
trust score
Avg Security Score
99/100
Avg Patch Time
68 days
View full developer profile
Detection Fingerprints

How We Detect WPC Smart Messages for WooCommerce

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/wpc-smart-messages/assets/css/backend.css/wp-content/plugins/wpc-smart-messages/assets/css/frontend.css/wp-content/plugins/wpc-smart-messages/assets/js/backend.js/wp-content/plugins/wpc-smart-messages/assets/js/frontend.js
Script Paths
/wp-content/plugins/wpc-smart-messages/assets/js/backend.js/wp-content/plugins/wpc-smart-messages/assets/js/frontend.js
Version Parameters
wpc-smart-messages/assets/css/backend.css?ver=wpc-smart-messages/assets/css/frontend.css?ver=wpc-smart-messages/assets/js/backend.js?ver=wpc-smart-messages/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpcsm-settings-optionwpcsm-custom-locationwpcsm-shortcodewpcsm-shortcode-deswpcsm-shortcode-txtwpcsm-shortcode-inputwpcsm-conditions-notewpcsm-conditions-wrap+4 more
Data Attributes
data-id
JS Globals
WpcsmAjaxwpcsm_params
REST Endpoints
/wp-json/wpc-smart-messages/v1/settings
Shortcode Output
[wpc_smart_message id=[wpc_smart_message id="
FAQ

Frequently Asked Questions about WPC Smart Messages for WooCommerce