Buy Button for WooCommerce Security & Risk Analysis

wordpress.org/plugins/buy-button-for-woocommerce

Create Buy Now buttons for WooCommerce

20 active installs v1.0.3 PHP 7.2+ WP 3.0+ Updated Jun 18, 2025
ecommercesellshopshopping-cartwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Buy Button for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 9mo ago
Risk Assessment

The 'buy-button-for-woocommerce' plugin v1.0.3 exhibits a generally good security posture based on the static analysis and vulnerability history provided. The absence of any registered CVEs, coupled with no critical or high-severity issues identified in the taint analysis, suggests a well-maintained and secure codebase. The plugin also demonstrates good practices by using prepared statements for all SQL queries and largely implementing proper output escaping, with only one instance of potentially unescaped output. The limited attack surface, consisting of a single shortcode with no explicitly stated authentication or capability checks, is a minor concern.

Despite the positive indicators, the lack of nonce checks and capability checks for the shortcode is a significant area of potential weakness. While the attack surface is small, a shortcode can still be a vector for cross-site scripting (XSS) or other injection attacks if it processes user-supplied data without proper sanitization and authorization. The fact that 100% of SQL queries use prepared statements is a strong positive, as is the lack of dangerous functions, file operations, or external HTTP requests, which reduces the overall attack surface considerably. The vulnerability history is pristine, indicating either a history of responsible development or a lack of active exploitation attempts, which is positive.

In conclusion, the plugin is relatively secure due to its clean vulnerability history and robust SQL handling. However, the absence of nonce and capability checks on its sole shortcode introduces a moderate risk of cross-site scripting or unauthorized actions if the shortcode's functionality is sensitive or relies on user input. Addressing this would further strengthen its security.

Key Concerns

  • Shortcode without nonce/capability checks
  • Unescaped output detected
Vulnerabilities
None known

Buy Button for WooCommerce Security Vulnerabilities

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

Buy Button for WooCommerce Code Analysis

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

Output Escaping

75% escaped4 total outputs
Attack Surface

Buy Button for WooCommerce Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[buy_button_wc] buy-button-for-woocommerce.php:38
WordPress Hooks 4
actioninitbuy-button-for-woocommerce.php:34
actionadmin_noticesbuy-button-for-woocommerce.php:35
filterwoocommerce_add_to_cart_redirectbuy-button-for-woocommerce.php:36
filterwoocommerce_add_to_cart_validationbuy-button-for-woocommerce.php:37
Maintenance & Trust

Buy Button for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJun 18, 2025
PHP min version7.2
Downloads1K

Community Trust

Rating20/100
Number of ratings1
Active installs20
Developer Profile

Buy Button for WooCommerce Developer Profile

Noor Alam

25 plugins · 157K total installs

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

How We Detect Buy Button for WooCommerce

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Buy Button for WooCommerce