M-Pesa(Kenya) Checkout for Woocommerce Security & Risk Analysis

wordpress.org/plugins/woo-m-pesa-payment-gateway

The plugin enables the customer to have an option of paying for goods using M-PESA mobile money service from a Wordpress site that has WooCommerce plu …

1K active installs v1.0.0 PHP + WP 2.2+ Updated Mar 2, 2026
m-pesamobilemoneympesawoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is M-Pesa(Kenya) Checkout for Woocommerce Safe to Use in 2026?

Generally Safe

Score 100/100

M-Pesa(Kenya) Checkout for Woocommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The security analysis of the 'woo-m-pesa-payment-gateway' plugin v1.0.0 reveals a mixed security posture. On one hand, the plugin exhibits an impressively small attack surface, with no identified AJAX handlers, REST API routes, shortcodes, or cron events, and importantly, no unprotected entry points. This lack of exposed interfaces is a significant strength. Furthermore, the static analysis did not detect any dangerous functions, file operations, or critical/high severity taint flows, and there is no known vulnerability history. This suggests a potentially well-developed plugin in terms of avoiding common attack vectors.

However, several areas raise significant concerns. The presence of a single SQL query that does not utilize prepared statements is a serious risk, as it leaves the plugin susceptible to SQL injection vulnerabilities. Compounding this, none of the seven identified output operations are properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. The complete absence of nonce checks and capability checks further exacerbates these risks, as it means that any authenticated user, or potentially even unauthenticated users depending on the context, could trigger actions or manipulate data through these vulnerable outputs.

In conclusion, while the plugin's minimal attack surface and lack of a vulnerability history are positive indicators, the identified instances of raw SQL queries and unescaped output, coupled with the absence of fundamental security checks like nonces and capability checks, present substantial security weaknesses. These findings suggest that the plugin, despite its apparent simplicity, has critical vulnerabilities that need immediate attention. The focus should be on addressing the SQL and XSS risks, and implementing robust authentication and authorization mechanisms.

Key Concerns

  • SQL queries not using prepared statements
  • Output escaping is not properly implemented
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

M-Pesa(Kenya) Checkout for Woocommerce Security Vulnerabilities

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

M-Pesa(Kenya) Checkout for Woocommerce Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

0% escaped7 total outputs
Attack Surface

M-Pesa(Kenya) Checkout for Woocommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
actionplugins_loadedWoocommerce_mpesa.php:30
actionwp_enqueue_scriptsWoocommerce_mpesa.php:38
actioninitWoocommerce_mpesa.php:42
filterquery_varsWoocommerce_mpesa.php:46
actionwpWoocommerce_mpesa.php:55
actioninitWoocommerce_mpesa.php:66
filterquery_varsWoocommerce_mpesa.php:76
actionwpWoocommerce_mpesa.php:88
actionbefore_woocommerce_initWoocommerce_mpesa.php:105
actionwoocommerce_update_options_payment_gatewaysWoocommerce_mpesa.php:196
actionwoocommerce_receipt_mpesaWoocommerce_mpesa.php:204
filterwoocommerce_payment_gatewaysWoocommerce_mpesa.php:594
Maintenance & Trust

M-Pesa(Kenya) Checkout for Woocommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 2, 2026
PHP min version
Downloads30K

Community Trust

Rating100/100
Number of ratings5
Active installs1K
Developer Profile

M-Pesa(Kenya) Checkout for Woocommerce Developer Profile

demkitech

4 plugins · 1K total installs

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

How We Detect M-Pesa(Kenya) Checkout 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/woo-m-pesa-payment-gateway/display.css
Script Paths
/wp-content/plugins/woo-m-pesa-payment-gateway/trxcheck.js

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about M-Pesa(Kenya) Checkout for Woocommerce