Custom WooCommerce Add to Cart Security & Risk Analysis

wordpress.org/plugins/custom-text-on-add-to-cart-button-for-woocommerce

Customize the WooCommerce "Add to Cart" button text on a per-product basis.

100 active installs v1.0 PHP + WP 4.0+ Updated Dec 2, 2015
add-to-cartcustom-add-to-cart-buttonwoocommercewoothemes
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Custom WooCommerce Add to Cart Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The plugin "custom-text-on-add-to-cart-button-for-woocommerce" v1.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, proper use of prepared statements for all SQL queries, and 100% output escaping indicate good coding practices. Furthermore, the lack of file operations and external HTTP requests minimizes potential attack vectors. The plugin also has no recorded vulnerability history, which is a positive indicator of its stability and security.

However, the analysis reveals zero nonces and zero capability checks. While the current attack surface is negligible with no entry points, this absence of authentication and authorization checks could become a significant concern if the plugin's functionality were to expand or if new entry points were introduced in future versions. The taint analysis also showed no flows, which is ideal, but this is in conjunction with a zero-total flow analysis, suggesting limited complex data handling or processing, which might be a feature of its simplicity.

In conclusion, the plugin is currently very secure due to its limited functionality and robust handling of data where it does interact. The key weakness lies in the lack of explicit security checks (nonces and capability checks) on its (currently non-existent) potential entry points, which represents a theoretical risk should the plugin evolve. The absence of any past vulnerabilities further reinforces its current secure state.

Key Concerns

  • No nonce checks implemented
  • No capability checks implemented
Vulnerabilities
None known

Custom WooCommerce Add to Cart Security Vulnerabilities

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

Custom WooCommerce Add to Cart Code Analysis

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

Output Escaping

100% escaped1 total outputs
Attack Surface

Custom WooCommerce Add to Cart Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionwoocommerce_product_options_general_product_datacustom-woocommerce-add-to-cart.php:11
actionwoocommerce_process_product_metacustom-woocommerce-add-to-cart.php:14
filterwoocommerce_product_single_add_to_cart_textcustom-woocommerce-add-to-cart.php:17
filterwoocommerce_product_add_to_cart_textcustom-woocommerce-add-to-cart.php:20
Maintenance & Trust

Custom WooCommerce Add to Cart Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedDec 2, 2015
PHP min version
Downloads8K

Community Trust

Rating100/100
Number of ratings2
Active installs100
Developer Profile

Custom WooCommerce Add to Cart Developer Profile

Brad Griffin

1 plugin · 100 total installs

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

How We Detect Custom WooCommerce Add to Cart

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
options_group
Data Attributes
id="custom-add-to-cart-text"label="Custom Add to Cart Text"placeholder="Add to Cart"description="Enter any text here that will override the original Add to Cart button text."
FAQ

Frequently Asked Questions about Custom WooCommerce Add to Cart