WeChat Payments for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wechat-payment-for-woo

WeChat Payments for WooCommerce is a Wordpress plugin that allows to accept payments at WooCommerce-powered online stores.

80 active installs v1.0 PHP + WP 4.2+ Updated Unknown
paymentswechat-paymentswordpress-plugin
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WeChat Payments for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs
Risk Assessment

The 'wechat-payment-for-woo' v1.0 plugin exhibits a mixed security posture. While it demonstrates good practices in areas like SQL query protection and avoiding external HTTP requests, significant concerns arise from its attack surface and output handling.

The plugin exposes two AJAX handlers, both of which lack any authentication checks. This represents a direct pathway for unauthenticated attackers to trigger potentially harmful actions. Furthermore, the static analysis reveals that 100% of its outputs are not properly escaped, creating a high risk of Cross-Site Scripting (XSS) vulnerabilities where user-controlled data could be injected and executed in a victim's browser.

Despite the absence of known historical vulnerabilities, the current code analysis highlights critical areas of weakness that could be exploited. The presence of a bundled library (TCPDF) without version information also presents a potential, albeit unconfirmed, risk if it's an outdated and vulnerable version. The overall risk is moderate to high due to the readily exploitable AJAX endpoints and the pervasive XSS risk.

In conclusion, the plugin's avoidance of SQL injection and external requests is commendable. However, the unprotected AJAX endpoints and the complete lack of output escaping are significant oversights that severely compromise its security. Addressing these critical issues is paramount to mitigating the risk of exploitation.

Key Concerns

  • AJAX handlers without auth checks
  • No output escaping
  • Bundled library (TCPDF)
Vulnerabilities
None known

WeChat Payments for WooCommerce Security Vulnerabilities

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

WeChat Payments for WooCommerce Code Analysis

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

Bundled Libraries

TCPDF

Output Escaping

0% escaped5 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<class-wc-wechatpay> (class-wc-wechatpay.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

WeChat Payments for WooCommerce Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_WXLoopOrderStatusweChatPay.php:30
noprivwp_ajax_WXLoopOrderStatusweChatPay.php:31
WordPress Hooks 10
actionadmin_noticesclass-wc-wechatpay.php:65
actionwoocommerce_update_options_payment_gatewaysclass-wc-wechatpay.php:67
actionwoocommerce_api_wc_wechatpayclass-wc-wechatpay.php:69
actiontemplate_redirectclass-wc-wechatpay.php:71
actionadmin_enqueue_scriptsclass-wc-wechatpay.php:72
actionwp_enqueue_scriptsclass-wc-wechatpay.php:73
filterwoocommerce_payment_gatewaysweChatPay.php:25
actionwoocommerce_receipt_wechatpayweChatPay.php:32
actionplugins_loadedweChatPay.php:34
filterwoocommerce_get_order_item_totalsweChatPay.php:69
Maintenance & Trust

WeChat Payments for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested4.7.32
Last updatedUnknown
PHP min version
Downloads11K

Community Trust

Rating98/100
Number of ratings8
Active installs80
Developer Profile

WeChat Payments for WooCommerce Developer Profile

shudong

1 plugin · 80 total installs

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

How We Detect WeChat Payments 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/wechat-payment-for-woo/js/WX_Loop.js/wp-content/plugins/wechat-payment-for-woo/js/WX_Setting.js/wp-content/plugins/wechat-payment-for-woo/images/wechatpay.png
Script Paths
/wp-content/plugins/wechat-payment-for-woo/js/WX_Loop.js/wp-content/plugins/wechat-payment-for-woo/js/WX_Setting.js

HTML / DOM Fingerprints

JS Globals
WX_LoopWX_Setting
FAQ

Frequently Asked Questions about WeChat Payments for WooCommerce