Attributes Coupon for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-attributes-coupon

WooCommerce coupon section extension for adding coupons for special attributes and tags. Also, you can categorise the coupons.

300 active installs v2.3.3 PHP + WP 6.4+ Updated Feb 27, 2026
attributescartcoupondiscountwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Attributes Coupon for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 1mo ago
Risk Assessment

The "woo-attributes-coupon" v2.3.3 plugin presents a mixed security posture. On one hand, the static analysis shows a remarkably small attack surface with no AJAX handlers, REST API routes, shortcodes, or cron events, and importantly, zero unprotected entry points. This indicates a deliberate effort to limit potential external interaction. The plugin also demonstrates good practices regarding SQL queries, utilizing prepared statements exclusively, and a high percentage of properly escaped output.

However, significant concerns arise from the presence of five instances of the dangerous `unserialize` function. Without proper sanitization or validation before deserialization, this function can lead to Remote Code Execution (RCE) vulnerabilities if an attacker can control the serialized data. The absence of any nonce checks or capability checks on identified entry points (though there are none reported) is also a point of concern, as it suggests a reliance on other mechanisms for security, which may not be sufficient. The lack of any recorded vulnerabilities in its history is positive, but this does not negate the inherent risks posed by the `unserialize` function.

In conclusion, while the plugin has a clean vulnerability history and a small, well-protected attack surface, the presence of `unserialize` without apparent sanitization is a critical weakness. The absence of nonce and capability checks, even with zero entry points, is a missed opportunity for robust security layering. The plugin's security is heavily reliant on the assumption that serialized data will never be manipulated by external sources, which is a risky proposition.

Key Concerns

  • Dangerous function 'unserialize' used
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Attributes Coupon for WooCommerce Security Vulnerabilities

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

Attributes Coupon for WooCommerce Code Analysis

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

Dangerous Functions Found

unserialize$existing_coupon_tags = ( get_post_meta($thepostid, $this->tags_meta_name, true) ? unserialize(get_padmin\class.woo-attributes-coupon-admin.php:156
unserialize$field['value'] = isset($field['value']) ? $field['value'] : ( get_post_meta($thepostid, $this->postadmin\class.woo-attributes-coupon-admin.php:201
unserialize$existing_coupon_tags = ( get_post_meta($post_ID, $this->tags_meta_name, true) ? unserialize(get_posadmin\class.woo-attributes-coupon-admin.php:231
unserialize$coupon_attribute_ids_arr = unserialize($coupon_attribute_ids);public\class.woo-attributes-coupon.php:319
unserialize$coupon_tag_ids_arr = unserialize($coupon_tag_ids);public\class.woo-attributes-coupon.php:395

SQL Query Safety

100% prepared1 total queries

Output Escaping

88% escaped16 total outputs
Attack Surface

Attributes Coupon for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
actionwoocommerce_coupon_options_usage_restrictionadmin\class.woo-attributes-coupon-admin.php:57
actionsave_postadmin\class.woo-attributes-coupon-admin.php:62
filtermanage_shop_coupon_posts_columnsadmin\class.woo-attributes-coupon-admin.php:68
actionmanage_shop_coupon_posts_custom_columnadmin\class.woo-attributes-coupon-admin.php:69
actionadmin_menuadmin\class.woo-attributes-coupon-admin.php:76
filtermanage_edit-shop_coupon_columnsadmin\class.woo-attributes-coupon-admin.php:77
actionmanage_shop_coupon_posts_custom_columnadmin\class.woo-attributes-coupon-admin.php:78
actioninitpublic\class.woo-attributes-coupon.php:60
filterwoocommerce_coupon_is_valid_for_productpublic\class.woo-attributes-coupon.php:63
filterwoocommerce_coupon_is_validpublic\class.woo-attributes-coupon.php:66
actionplugins_loadedwoo-attributes-coupon.php:54
actionbefore_woocommerce_initwoo-attributes-coupon.php:57
actionplugins_loadedwoo-attributes-coupon.php:72
actioninitwoo-attributes-coupon.php:76
Maintenance & Trust

Attributes Coupon for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 27, 2026
PHP min version
Downloads7K

Community Trust

Rating100/100
Number of ratings12
Active installs300
Developer Profile

Attributes Coupon for WooCommerce Developer Profile

GauravNagpal

1 plugin · 300 total installs

94
trust score
Avg Security Score
100/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Attributes Coupon 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/woo-attributes-coupon/public/js/woo-attributes-coupon.js/wp-content/plugins/woo-attributes-coupon/public/css/woo-attributes-coupon.css
Script Paths
/wp-content/plugins/woo-attributes-coupon/public/js/woo-attributes-coupon.js
Version Parameters
woo-attributes-coupon/public/js/woo-attributes-coupon.js?ver=woo-attributes-coupon/public/css/woo-attributes-coupon.css?ver=

HTML / DOM Fingerprints

CSS Classes
woo-attributes-coupon-usage-restriction-attributewoo-attributes-coupon-usage-restriction-tag
HTML Comments
<!-- woo_attributes_coupon -->
Data Attributes
data-attribute-namedata-attribute-value
JS Globals
wc_attributes_coupon_params
FAQ

Frequently Asked Questions about Attributes Coupon for WooCommerce