Gain Commerce NMI Payment Gateway for WooCommerce Security & Risk Analysis

wordpress.org/plugins/gaincommerce-nmi-payment-gateway-for-woocommerce

PCI-compliant payment gateway integration between NMI and WooCommerce. Seamlessly accept e-commerce credit card payments through WooCommerce stores.

0 active installs v1.12.0 PHP 7.4+ WP 6.8+ Updated Mar 6, 2026
credit-cardnmipayment-gatewaypciwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Gain Commerce NMI Payment Gateway for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Gain Commerce NMI Payment Gateway for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 29d ago
Risk Assessment

The "gaincommerce-nmi-payment-gateway-for-woocommerce" plugin, in version 1.12.0, exhibits a mixed security posture. While it demonstrates good practices such as exclusively using prepared statements for SQL queries and a high percentage of properly escaped output, significant concerns exist regarding its attack surface. The plugin exposes two AJAX handlers without any authentication checks, presenting a direct pathway for unauthenticated attackers to potentially interact with sensitive functionalities. Taint analysis results are notably absent, suggesting either a lack of comprehensive testing or no identified complex data flow vulnerabilities. The plugin's vulnerability history is clean, with no known CVEs, which is a positive indicator, but it doesn't negate the risks identified in the static analysis. The primary weakness lies in the unprotected entry points, which could be exploited if the functionality they expose is not inherently secure or if data passed through them is not sufficiently validated and sanitized, despite the absence of identified taint flows.

Overall, the plugin has strengths in its database interaction and output handling. However, the presence of two unauthenticated AJAX endpoints is a critical security oversight. If these endpoints handle any user-supplied data or trigger actions that could impact the system's integrity or data, they represent a significant risk. The lack of recorded vulnerabilities in its history is positive, but proactive security measures, particularly robust authentication and authorization on all entry points, are crucial for mitigating the identified risks and maintaining a strong security posture.

Key Concerns

  • AJAX handlers without auth checks
  • AJAX handlers without auth checks
Vulnerabilities
None known

Gain Commerce NMI Payment Gateway for WooCommerce Security Vulnerabilities

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

Gain Commerce NMI Payment Gateway for WooCommerce Code Analysis

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

Output Escaping

93% escaped46 total outputs
Attack Surface
2 unprotected

Gain Commerce NMI Payment Gateway for WooCommerce Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_woocommerce_checkoutsrc\Gateway.php:124
noprivwp_ajax_woocommerce_checkoutsrc\Gateway.php:125
WordPress Hooks 14
actionwp_enqueue_scriptsenqueue-scripts.php:7
filterscript_loader_tagenqueue-scripts.php:46
actionadmin_noticesgaincommerce-nmi-payment-gateway-for-woocommerce.php:109
actionbefore_woocommerce_initgaincommerce-nmi-payment-gateway-for-woocommerce.php:125
actionplugins_loadedgaincommerce-nmi-payment-gateway-for-woocommerce.php:132
actionwp_enqueue_scriptssrc\Gateway.php:121
actionwoocommerce_api_{webhook name}src\Gateway.php:131
filterwoocommerce_payment_gatewayssrc\Plugin.php:48
actioninitsrc\Plugin.php:51
actionwoocommerce_blocks_loadedsrc\Plugin.php:54
actioninitsrc\Plugin.php:60
actionwoocommerce_blocks_payment_method_type_registrationsrc\Plugin.php:103
actionwoocommerce_order_status_changedsrc\WC\NMI_Capture_Payment.php:13
actionwoocommerce_order_status_cancelledsrc\WC\Void_Transaction.php:13
Maintenance & Trust

Gain Commerce NMI Payment Gateway for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 6, 2026
PHP min version7.4
Downloads496

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Gain Commerce NMI Payment Gateway for WooCommerce Developer Profile

Gain Commerce

1 plugin · 0 total installs

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

How We Detect Gain Commerce NMI Payment Gateway 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/gaincommerce-nmi-payment-gateway-for-woocommerce/assets/js/ap-nmi-unified-integration.js/wp-content/plugins/gaincommerce-nmi-payment-gateway-for-woocommerce/assets/css/ap-nmi-unified-styles.css
Script Paths
https://secure.nmi.com/token/Collect.js
Version Parameters
gaincommerce-nmi-payment-gateway-for-woocommerce/assets/js/ap-nmi-unified-integration.js?ver=gaincommerce-nmi-payment-gateway-for-woocommerce/assets/css/ap-nmi-unified-styles.css?ver=nmi-collectjs?ver=

HTML / DOM Fingerprints

Data Attributes
data-tokenization-key
JS Globals
ap_nmi_params
FAQ

Frequently Asked Questions about Gain Commerce NMI Payment Gateway for WooCommerce