One Click Buy Button For WooCommerce Security & Risk Analysis

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

"One Click Buy Button For WooCommerce" is a plugin to replace the default "Add To Cart" button redirect page and text.

20 active installs v1.0.1 PHP 7.0+ WP 3.0.1+ Updated Mar 29, 2023
one-click-buy-buttonwoocommerce-cart-and-checkout-on-same-pagewoocommerce-direct-checkoutwoocommerce-one-click-buy-button
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is One Click Buy Button For WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

One Click 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 3yr ago
Risk Assessment

The "one-click-buy-button-for-woocommerce" plugin v1.0.1 exhibits a strong security posture based on the provided static analysis. The absence of exposed entry points like AJAX handlers, REST API routes, shortcodes, and cron events significantly reduces the potential attack surface. Furthermore, the code signals are positive, with no dangerous functions identified, all SQL queries using prepared statements, and a high percentage of outputs being properly escaped. File operations and external HTTP requests are also absent, further contributing to its secure design.

However, a notable concern arises from the complete lack of nonce checks and the minimal use of capability checks (only one identified). While the taint analysis shows no critical or high severity flows, the absence of robust authorization checks means that if any unforeseen vulnerabilities were to be introduced in the future, they could potentially be exploited without requiring user authentication or specific privileges. The plugin's vulnerability history being clean is a positive indicator, suggesting a proactive approach to security by the developers, but it does not mitigate the risks associated with underdeveloped authorization mechanisms.

In conclusion, the plugin appears to be well-written with a minimal attack surface and good handling of SQL and output escaping. The primary weakness lies in the lack of comprehensive authorization checks. While the absence of known vulnerabilities is reassuring, the reliance on a single capability check and zero nonce checks leaves room for potential exploitation if new vulnerabilities emerge. It's recommended to implement more robust nonce checks on any user-facing interactions and ensure capability checks are applied appropriately to all sensitive operations.

Key Concerns

  • Zero nonce checks implemented
  • Only one capability check found
Vulnerabilities
None known

One Click Buy Button For WooCommerce Security Vulnerabilities

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

One Click Buy Button For WooCommerce Code Analysis

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

Output Escaping

90% escaped31 total outputs
Attack Surface

One Click Buy Button For WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionwoocommerce_after_add_to_cart_buttonincludes\one_click_buy_btn-buy-now.php:13
actionwp_enqueue_scriptsincludes\one_click_buy_btn-enqueue.php:14
actionadmin_enqueue_scriptsincludes\one_click_buy_btn-enqueue.php:18
filterwoocommerce_add_to_cart_redirectincludes\one_click_buy_btn-replace-addCart.php:13
actioninitincludes\one_click_buy_btn-replace-addCart.php:14
actionwoocommerce_after_shop_loop_itemincludes\one_click_buy_btn-replace-addCart.php:15
filterwoocommerce_product_single_add_to_cart_textincludes\one_click_buy_btn-replace-addCart.php:16
actionadmin_menuincludes\one_click_buy_btn-setting.php:13
actionadmin_menuincludes\one_click_buy_btn-setting.php:14
Maintenance & Trust

One Click Buy Button For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedMar 29, 2023
PHP min version7.0
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

One Click Buy Button For WooCommerce Developer Profile

Shahriar Ahmed Shovon

3 plugins · 30 total installs

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

How We Detect One Click Buy 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/one-click-buy-button-for-woocommerce/assets/css/tailwindPurged.css/wp-content/plugins/one-click-buy-button-for-woocommerce/assets/css/custom.css

HTML / DOM Fingerprints

CSS Classes
one_click_buy_btn_button
FAQ

Frequently Asked Questions about One Click Buy Button For WooCommerce