Add to Cart Button Custom Text and Color Security & Risk Analysis

wordpress.org/plugins/add-to-cart-button-custom-text-and-color

Allows to customize the Add to cart button text in WooCommerce by product type in both archive and single product pages and also allow to change wooco …

40 active installs v1.0 PHP + WP 2.5+ Updated Jun 20, 2016
add-to-cartbuttonchangewoocommercewoocommerce-buttons-color
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Add to Cart Button Custom Text and Color Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The plugin "add-to-cart-button-custom-text-and-color" v1.0 exhibits a generally strong security posture based on the provided static analysis. There are no identified AJAX handlers, REST API routes, shortcodes, or cron events, resulting in a completely closed attack surface. Furthermore, the analysis indicates no dangerous function usage, no file operations, no external HTTP requests, and no taint flows that would suggest vulnerabilities. The absence of known CVEs and a history of vulnerabilities also contributes to a positive security outlook. However, a significant concern arises from the complete lack of output escaping. With 7 total outputs and 0% properly escaped, this presents a critical risk for Cross-Site Scripting (XSS) vulnerabilities. Any user-provided input that is displayed on the frontend without proper sanitization could be exploited. While the plugin demonstrates good practices in limiting its attack surface and secure database interaction (all prepared statements), the unescaped output is a major weakness that requires immediate attention. The lack of any nonce or capability checks, though not directly exploitable given the zero attack surface, suggests a potential future risk if entry points were to be introduced.

Key Concerns

  • All outputs are unescaped, leading to XSS risk
  • No nonce checks implemented
  • No capability checks implemented
Vulnerabilities
None known

Add to Cart Button Custom Text and Color Security Vulnerabilities

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

Add to Cart Button Custom Text and Color Code Analysis

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

Output Escaping

0% escaped7 total outputs
Attack Surface

Add to Cart Button Custom Text and Color Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionadmin_print_scripts-appearance_page_theme_optionsadd-to-cart-button-custom-text-and-color.php:14
actionadmin_enqueue_scriptsadd-to-cart-button-custom-text-and-color.php:15
actionadmin_enqueue_scriptsadd-to-cart-button-custom-text-and-color.php:16
actionadmin_print_styles-appearance_page_theme_optionsadd-to-cart-button-custom-text-and-color.php:29
actionadmin_menuadd-to-cart-button-custom-text-and-color.php:53
actionadmin_initadd-to-cart-button-custom-text-and-color.php:54
filterwoocommerce_product_single_add_to_cart_textsettings.php:5
filterwoocommerce_product_add_to_cart_textsettings.php:12
actionwp_headsettings.php:41
Maintenance & Trust

Add to Cart Button Custom Text and Color Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedJun 20, 2016
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings3
Active installs40
Developer Profile

Add to Cart Button Custom Text and Color Developer Profile

Chahat Sharma

2 plugins · 50 total installs

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

How We Detect Add to Cart Button Custom Text and Color

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/add-to-cart-button-custom-text-and-color/assets/style.css

HTML / DOM Fingerprints

CSS Classes
woo_button_setting
HTML Comments
<!--- text for simple product button --><!--- button text for variable product --><!--- button text for grouped product --><!--- button text for external product -->
Data Attributes
name="woo_setting[single_button_text]"id="woo_setting[single_button_text]"name="woo_setting[simple_button_text]"id="woo_setting[simple_button_text]"name="woo_setting[variable_button_text]"id="woo_setting[variable_button_text]"+12 more
JS Globals
jQuery
FAQ

Frequently Asked Questions about Add to Cart Button Custom Text and Color