Custom Add To Cart Button for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-custom-add-to-cart-button

Customize the Add to Cart buttons in WooCommerce by changing the text, adding a cart icon or changing the colors.

10K active installs v1.2.6 PHP 7.4+ WP 6.0+ Updated Mar 24, 2025
buttoncartwoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Add To Cart Button for WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Custom Add To Cart Button for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The plugin "woo-custom-add-to-cart-button" v1.2.6 exhibits a strong security posture based on the provided static analysis. The absence of any identified entry points such as AJAX handlers, REST API routes, or shortcodes significantly limits the potential attack surface. Furthermore, the code demonstrates good practices by not utilizing dangerous functions, employing prepared statements for all SQL queries, and avoiding file operations or external HTTP requests, all of which reduce common vulnerability vectors. The taint analysis showing zero unsanitized flows is a very positive indicator.

However, there are a couple of areas that could be improved. The output escaping, while mostly proper, has a 33% rate of being unescaped, which could lead to cross-site scripting (XSS) vulnerabilities if sensitive data is handled. Additionally, the complete absence of nonce checks and capability checks, coupled with zero AJAX handlers or REST API routes without auth checks, suggests that if any entry points were to be introduced in future versions, they might be implemented without built-in security mechanisms. The plugin's vulnerability history is clean, with no recorded CVEs, which is excellent. This, combined with the current code quality, suggests a low risk, but the output escaping and lack of explicit security checks on potential future entry points are minor concerns.

Key Concerns

  • Unescaped output detected
  • No nonce checks found
  • No capability checks found
Vulnerabilities
None known

Custom Add To Cart Button for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Custom Add To Cart Button for WooCommerce Release Timeline

v1.2.6Current
v1.2.5
v1.2.4
v1.2.2
v1.2.1
v1.2.0
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

Custom Add To Cart Button for WooCommerce Code Analysis

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

Output Escaping

67% escaped6 total outputs
Attack Surface

Custom Add To Cart Button for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
filterwoocommerce_product_single_add_to_cart_textsrc\Add_To_Cart_Replacer.php:17
filterwoocommerce_product_add_to_cart_textsrc\Add_To_Cart_Replacer.php:18
actionwp_enqueue_scriptssrc\Add_To_Cart_Styles.php:25
filterbody_classsrc\Add_To_Cart_Styles.php:26
filterwoocommerce_loop_add_to_cart_argssrc\Add_To_Cart_Styles.php:27
actionwp_headsrc\Add_To_Cart_Styles.php:28
actioncustomize_registersrc\Admin\Add_To_Cart_Customizer.php:26
actioncustomize_controls_print_scriptssrc\Admin\Add_To_Cart_Customizer.php:27
actioninitsrc\Plugin.php:40
actioninitsrc\Plugin.php:41
actionbefore_woocommerce_initsrc\Plugin.php:68
Maintenance & Trust

Custom Add To Cart Button for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 24, 2025
PHP min version7.4
Downloads187K

Community Trust

Rating78/100
Number of ratings8
Active installs10K
Developer Profile

Custom Add To Cart Button for WooCommerce Developer Profile

Kestrel

5 plugins · 16K total installs

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

How We Detect Custom Add To Cart Button 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-custom-add-to-cart-button/assets/css/wc-custom-add-to-cart.css/wp-content/plugins/woo-custom-add-to-cart-button/assets/css/wc-custom-add-to-cart.min.css
Version Parameters
woo-custom-add-to-cart-button/assets/css/wc-custom-add-to-cart.css?ver=woo-custom-add-to-cart-button/assets/css/wc-custom-add-to-cart.min.css?ver=

HTML / DOM Fingerprints

CSS Classes
wc-add-to-cart-iconwc-add-to-cart-no-texttext_replaceable
FAQ

Frequently Asked Questions about Custom Add To Cart Button for WooCommerce