YouCan Pay Security & Risk Analysis

wordpress.org/plugins/youcan-pay-for-woocommerce

Take credit card payments on your store using YouCan Pay.

200 active installs v3.1.0 PHP 8.1+ WP 6.7.1+ Updated Dec 30, 2024
credit-cardpayment-requeststandalonewoocommerceyoucanpay
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is YouCan Pay Safe to Use in 2026?

Generally Safe

Score 92/100

YouCan Pay 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 "youcan-pay-for-woocommerce" plugin v3.1.0 exhibits a generally strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points is a significant positive. The plugin also demonstrates good practices by exclusively using prepared statements for SQL queries and performing capability checks. However, the analysis does flag some areas for concern. Notably, three taint flows were identified with unsanitized paths, although they are not classified as critical or high severity. Additionally, a significant portion (23%) of output escaping is not properly handled, which could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is displayed without adequate sanitization. The plugin's vulnerability history is clean, with no recorded CVEs, which is a positive indicator of past security efforts. Overall, while the plugin benefits from a small attack surface and a lack of known vulnerabilities, the presence of unsanitized paths in taint flows and a concerning percentage of unescaped output warrant attention. Further investigation into these specific code signals is recommended to ensure robust security.

Key Concerns

  • Unsanitized paths in taint flows
  • Percentage of unescaped output
Vulnerabilities
None known

YouCan Pay Security Vulnerabilities

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

YouCan Pay Code Analysis

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

Output Escaping

77% escaped22 total outputs
Data Flows
3 unsanitized

Data Flow Analysis

3 flows3 with unsanitized paths
youcanpay_credit_card (includes\class-wc-youcanpay-webhook-handler.php:207)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

YouCan Pay Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 23
filterwoocommerce_order_button_textincludes\abstracts\abstract-wc-youcanpay-payment-gateway.php:259
actionadmin_noticesincludes\admin\class-wc-youcanpay-admin-notices.php:24
actionwp_loadedincludes\admin\class-wc-youcanpay-admin-notices.php:25
actionwoocommerce_youcanpay_updatedincludes\admin\class-wc-youcanpay-admin-notices.php:26
actionadmin_enqueue_scriptsincludes\admin\class-wc-youcanpay-settings-controller.php:13
actionset_logged_in_cookieincludes\class-wc-gateway-youcanpay.php:89
filterwoocommerce_get_checkout_payment_urlincludes\class-wc-gateway-youcanpay.php:90
actionadmin_noticesincludes\class-wc-gateway-youcanpay.php:93
actionwp_enqueue_scriptsincludes\class-wc-gateway-youcanpay.php:100
actionwp_headincludes\class-wc-gateway-youcanpay.php:306
actionwoocommerce_api_wc_youcanpayincludes\class-wc-youcanpay-webhook-handler.php:40
actionwp_enqueue_scriptsincludes\payment-methods\class-wc-gateway-youcanpay-standalone.php:81
actionadmin_inityoucan-pay.php:110
filterwoocommerce_payment_gatewaysyoucan-pay.php:152
filterpre_update_option_woocommerce_youcanpay_settingsyoucan-pay.php:153
filterplugin_row_metayoucan-pay.php:158
filterwoocommerce_email_classesyoucan-pay.php:161
filterwoocommerce_get_sections_checkoutyoucan-pay.php:164
actionplugins_loadedyoucan-pay.php:325
actionadmin_noticesyoucan-pay.php:329
actionadmin_noticesyoucan-pay.php:335
actionbefore_woocommerce_inityoucan-pay.php:358
actioninityoucan-pay.php:383
Maintenance & Trust

YouCan Pay Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedDec 30, 2024
PHP min version8.1
Downloads12K

Community Trust

Rating60/100
Number of ratings4
Active installs200
Developer Profile

YouCan Pay Developer Profile

YouCan Pay

1 plugin · 200 total installs

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

How We Detect YouCan Pay

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/youcan-pay-for-woocommerce/assets/images/icon-sprite.svg
Script Paths
/wp-content/plugins/youcan-pay-for-woocommerce/assets/js/youcanpay-checkout.js/wp-content/plugins/youcan-pay-for-woocommerce/assets/js/youcanpay-admin.js
Version Parameters
youcan-pay-for-woocommerce/assets/js/youcanpay-checkout.js?ver=youcan-pay-for-woocommerce/assets/js/youcanpay-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
youcanpay-payment-method-titleyoucanpay-button-containeryoucanpay-iframe-containeryoucanpay-card-inputyoucanpay-form-rowwc_payment_method_youcanpay
HTML Comments
<!-- WC YouCanPay Gateway --><!-- YouCan Pay Payment Gateway --><!-- WC YouCanPay admin notices -->
Data Attributes
data-gateway-id="youcanpay"data-wc-youcanpay-gateway-id="youcanpay"data-youcanpay-public-key
JS Globals
window.youcanpay_checkout_paramswindow.YouCanPayvar youcanpay_checkout_params
REST Endpoints
/wp-json/youcanpay/v1/process-payment/wp-json/youcanpay/v1/capture-payment/wp-json/youcanpay/v1/refund-payment
Shortcode Output
[youcanpay_payment_form][youcanpay_payment_status]
FAQ

Frequently Asked Questions about YouCan Pay