Product Advertiser for WooCommerce Security & Risk Analysis

wordpress.org/plugins/hm-wc-product-advertiser

This plugin will display product randomly at the bottom right corner when scroll down your browser.

10 active installs v1.1 PHP 5.6+ WP 4.6+ Updated Jan 12, 2021
advertiseajaxproductswoo-commercewoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Product Advertiser for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Product Advertiser for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The "hm-wc-product-advertiser" plugin v1.1 exhibits a mixed security posture. On the positive side, it shows good practices in handling SQL queries with prepared statements and a high percentage of properly escaped output. Furthermore, its vulnerability history is clean, with no known CVEs, suggesting a potentially stable and well-maintained codebase in that regard. However, significant security concerns arise from the static analysis. The presence of two unprotected AJAX handlers presents a considerable attack surface, as malicious actors could potentially exploit these entry points without authentication. The use of the "unserialize" function is a critical red flag, as it can lead to arbitrary object injection vulnerabilities if user-controlled data is unserialized without proper sanitization. The absence of nonce checks on AJAX handlers exacerbates this risk, making it easier for attackers to trigger malicious actions. While taint analysis did not reveal critical or high severity flows, the single flow with unsanitized paths, combined with the "unserialize" function, warrants extreme caution. The lack of capability checks on the AJAX handlers further compounds these risks. In conclusion, while the plugin avoids common pitfalls like raw SQL and has no prior vulnerabilities, the unprotected AJAX endpoints and the dangerous "unserialize" function, coupled with missing nonce and capability checks, introduce substantial security risks that require immediate attention.

Key Concerns

  • Unprotected AJAX handlers
  • Dangerous function: unserialize
  • No nonce checks on AJAX handlers
  • No capability checks
  • Flow with unsanitized paths
Vulnerabilities
None known

Product Advertiser for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Product Advertiser for WooCommerce Code Analysis

Dangerous Functions
4
Raw SQL Queries
0
2 prepared
Unescaped Output
4
26 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

unserialize$hmwpa_settings = stripslashes_deep(unserialize(get_option('hmwpa_settings')));admin\view\hmwpa-settings.php:13
unserialize$hmwpa_settings = stripslashes_deep( unserialize( get_option('hmwpa_settings') ) );front\cls-hmwpa-front.php:15
unserializeif( is_array( stripslashes_deep( unserialize( get_option('hmwpa_settings') ) ) ) ){front\cls-hmwpa-front.php:76
unserialize$hmwpa_settings = stripslashes_deep( unserialize( get_option('hmwpa_settings') ) );front\cls-hmwpa-front.php:77

SQL Query Safety

100% prepared2 total queries

Output Escaping

87% escaped30 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<hmwpa-settings> (admin\view\hmwpa-settings.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Product Advertiser for WooCommerce Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 2

authwp_ajax_load_scroll_postinc\cls-hmwpa-master.php:36
noprivwp_ajax_load_scroll_postinc\cls-hmwpa-master.php:37

Shortcodes 1

[wp_scroll_post] front\cls-hmwpa-front.php:60
WordPress Hooks 4
actionadmin_menuinc\cls-hmwpa-master.php:29
actionadmin_enqueue_scriptsinc\cls-hmwpa-master.php:30
actionwp_enqueue_scriptsinc\cls-hmwpa-master.php:35
actionwp_footerinc\cls-hmwpa-master.php:38
Maintenance & Trust

Product Advertiser for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.6.17
Last updatedJan 12, 2021
PHP min version5.6
Downloads1K

Community Trust

Rating20/100
Number of ratings1
Active installs10
Developer Profile

Product Advertiser for WooCommerce Developer Profile

Hossni Mubarak

13 plugins · 8K total installs

76
trust score
Avg Security Score
96/100
Avg Patch Time
146 days
View full developer profile
Detection Fingerprints

How We Detect Product Advertiser 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/hm-wc-product-advertiser/assets/css/hmwpa-admin-style.css/wp-content/plugins/hm-wc-product-advertiser/assets/js/hmwpa-admin-script.js/wp-content/plugins/hm-wc-product-advertiser/assets/css/hmwpa-front-style.css/wp-content/plugins/hm-wc-product-advertiser/assets/js/hmwpa-front-script.js
Script Paths
hmwpa-admin-scripthmwpa-front-script
Version Parameters
hmwpa-admin-style?ver=hmwpa-admin-script?ver=hmwpa-front-style?ver=hmwpa-front-script?ver=

HTML / DOM Fingerprints

CSS Classes
hmwpa-alerthmwpa-closebtnhmwpa-content-parenthmwpa-thumbnailhmwpa-contenthmwpa-titlehmwpa-item-pricehmwpa-text+3 more
HTML Comments
<!-- Admin Parent Class --><!-- Loading the admin menu --><!-- Loading admin panel assets --><!-- Loading admin panel view/forms -->+5 more
Data Attributes
hmwpaIdsOfColorPicker
JS Globals
hmwpaAdminScriptwsAjaxObject
Shortcode Output
[wp_scroll_post]
FAQ

Frequently Asked Questions about Product Advertiser for WooCommerce