PagBank for WooCommerce Security & Risk Analysis

wordpress.org/plugins/pagbank-for-woocommerce

Aceite pagamentos via cartão de crédito, boleto e Pix no checkout do WooCommerce através do PagBank.

4K active installs v1.2.6 PHP 7.4+ WP 6.7+ Updated Oct 12, 2025
brasilpagamentopagbankpagsegurowoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is PagBank for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 5mo ago
Risk Assessment

The "pagbank-for-woocommerce" v1.2.6 plugin exhibits a generally strong security posture based on the provided static analysis. All identified entry points (AJAX handlers) appear to have proper authentication checks, and the absence of shortcodes and cron events further limits the potential attack surface. The plugin also demonstrates good practices with 100% of SQL queries using prepared statements and a very high percentage of properly escaped output. The presence of nonces and capability checks on a good number of code paths also indicates a conscious effort towards secure coding.

Despite the positive findings, two flows with unsanitized paths were identified in the taint analysis. While these are not categorized as critical or high severity, they represent potential avenues for unexpected behavior or data manipulation if exploited. The plugin's history of zero known CVEs is a significant strength, suggesting a well-maintained and secure codebase over time. However, the lack of any recorded vulnerabilities could also mean limited historical testing or reporting. Overall, the plugin is well-developed with strong security foundations, but the identified unsanitized paths warrant attention for complete risk mitigation.

Key Concerns

  • Flows with unsanitized paths
Vulnerabilities
None known

PagBank for WooCommerce Security Vulnerabilities

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

PagBank for WooCommerce Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

94% escaped119 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
ajax_oauth_callback (src\core\Presentation\ConnectAjaxApi.php:149)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

PagBank for WooCommerce Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 3

authwp_ajax_pagbank_woocommerce_oauth_statussrc\core\Presentation\ConnectAjaxApi.php:36
authwp_ajax_pagbank_woocommerce_oauth_urlsrc\core\Presentation\ConnectAjaxApi.php:37
authwp_ajax_pagbank_woocommerce_oauth_callbacksrc\core\Presentation\ConnectAjaxApi.php:38
WordPress Hooks 25
actionbefore_woocommerce_initpagbank-for-woocommerce.php:35
actionwp_enqueue_scriptssrc\core\Gateways\BoletoPaymentGateway.php:81
filterwoocommerce_get_customer_payment_tokenssrc\core\Gateways\CreditCardPaymentGateway.php:132
actionwp_enqueue_scriptssrc\core\Gateways\PixPaymentGateway.php:81
actionwcfm_vendor_end_settings_paymentsrc\core\Marketplace\WcfmIntegration.php:37
filterwoocommerce_is_purchasablesrc\core\Marketplace\WcfmIntegration.php:38
filterpagbank_credit_card_payment_datasrc\core\Marketplace\WcfmIntegration.php:39
filterpagbank_pix_payment_datasrc\core\Marketplace\WcfmIntegration.php:40
filterpagbank_boleto_payment_datasrc\core\Marketplace\WcfmIntegration.php:41
actionwcfm_vendor_settings_updatesrc\core\Marketplace\WcfmIntegration.php:42
actionpagbank_order_completedsrc\core\Marketplace\WcfmIntegration.php:43
filterpagbank_should_process_order_refundsrc\core\Marketplace\WcfmIntegration.php:44
actioninitsrc\core\Presentation\Hooks.php:43
filterwoocommerce_payment_token_classsrc\core\Presentation\Hooks.php:44
filterwoocommerce_payment_methods_typessrc\core\Presentation\Hooks.php:45
filterwoocommerce_payment_methods_list_itemsrc\core\Presentation\Hooks.php:46
filterscript_loader_tagsrc\core\Presentation\Hooks.php:47
filterwoocommerce_get_order_item_totalssrc\core\Presentation\Hooks.php:48
actioninitsrc\core\Presentation\Hooks.php:56
actionadmin_noticessrc\core\Presentation\Hooks.php:59
filterwoocommerce_payment_gatewayssrc\core\Presentation\Hooks.php:187
filterwoocommerce_payment_gatewayssrc\core\Presentation\PaymentGateways.php:41
actionadmin_enqueue_scriptssrc\core\Presentation\PaymentGateways.php:42
actionwoocommerce_api_pagbank_woocommerce_handlersrc\core\Presentation\WebhookHandler.php:41
actioninitsrc\core\Presentation\WebhookHandler.php:42
Maintenance & Trust

PagBank for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 12, 2025
PHP min version7.4
Downloads31K

Community Trust

Rating72/100
Number of ratings7
Active installs4K
Developer Profile

PagBank for WooCommerce Developer Profile

PagBank

1 plugin · 4K total installs

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

How We Detect PagBank 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/pagbank-for-woocommerce/assets/css/common.css/wp-content/plugins/pagbank-for-woocommerce/assets/css/connect.css/wp-content/plugins/pagbank-for-woocommerce/assets/css/connect-page.css/wp-content/plugins/pagbank-for-woocommerce/assets/js/connect.js/wp-content/plugins/pagbank-for-woocommerce/assets/js/pagbank-connect-settings.js
Script Paths
/wp-content/plugins/pagbank-for-woocommerce/assets/js/connect.js/wp-content/plugins/pagbank-for-woocommerce/assets/js/pagbank-connect-settings.js
Version Parameters
pagbank-for-woocommerce/assets/css/common.css?ver=pagbank-for-woocommerce/assets/css/connect.css?ver=pagbank-for-woocommerce/assets/css/connect-page.css?ver=pagbank-for-woocommerce/assets/js/connect.js?ver=pagbank-for-woocommerce/assets/js/pagbank-connect-settings.js?ver=

HTML / DOM Fingerprints

CSS Classes
pagbank-connect-pagepagbank-connect-wrapperpagbank-connect-containerpagbank-connect-button-wrapperpagbank-connect-loadingpagbank-connect-modal-overlaypagbank-connect-modal-contentpagbank-connect-qrcode+4 more
HTML Comments
<!-- Page generated by PagBankConnect --><!-- PagBank Connect Settings --><!-- PagBank Connect Wrapper --><!-- PagBank Connect Content -->+6 more
Data Attributes
data-modal-targetdata-modal-closedata-pagbank-connect-action
JS Globals
pagbankConnectSettings
REST Endpoints
/wp-json/pagbank-connect/v1/connection_token/wp-json/pagbank-connect/v1/disconnect
FAQ

Frequently Asked Questions about PagBank for WooCommerce