Midtrans-WooCommerce Security & Risk Analysis

wordpress.org/plugins/midtrans-woocommerce

Midtrans-WooCommerce is plugin for Midtrans, Indonesian Payment Gateway. Brings safety and highly dedicated to customer experience (UX) to WooCommerce

5K active installs v2.32.3 PHP + WP 3.9.1+ Updated Aug 20, 2024
credit-cardmidtranspaymentpayment-gatewaysnap
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Midtrans-WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Midtrans-WooCommerce 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 midtrans-woocommerce plugin v2.32.3 exhibits a generally strong security posture based on the provided static analysis. The absence of any detected AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points, coupled with a complete lack of dangerous functions and SQL injection risks due to prepared statements, are significant strengths. The plugin also shows good practice in output escaping, with a high percentage of outputs being properly sanitized. However, the presence of two flows with unsanitized paths, even if not classified as critical or high severity, represents a potential concern that warrants investigation as it indicates data might be processed without adequate cleaning, which could lead to unexpected behavior or exploitability in certain contexts. The plugin's clean vulnerability history is a positive indicator, suggesting a history of secure development or prompt patching. Overall, while the plugin demonstrates many secure coding practices, the identified unsanitized paths are the primary area for improvement and potential risk mitigation.

Key Concerns

  • Flows with unsanitized paths found
  • Unescaped output found
  • File operations detected
Vulnerabilities
None known

Midtrans-WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Midtrans-WooCommerce Release Timeline

v2.32.3Current
v2.32.2
v2.32.1
v2.32.0
v2.31.1
v2.31.0
v2.30.1
v2.30.0
v2.22.0
v2.21.0
v2.20.0
v2.19.0
v2.18.5
v2.18.4
v2.18.3
v2.18.2
v2.18.1
v2.18.0
v2.17.2
v2.17.1
Code Analysis
Analyzed Mar 16, 2026

Midtrans-WooCommerce Code Analysis

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

Output Escaping

83% escaped41 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
checkAndRedirectUserToFinishUrl (class\class.midtrans-gateway-notif-handler.php:59)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Midtrans-WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actionadmin_print_scripts-woocommerce_page_woocommerce_settingsabstract\abstract.midtrans-gateway.php:52
actionadmin_print_scripts-woocommerce_page_wc-settingsabstract\abstract.midtrans-gateway.php:53
actionwoocommerce_thankyouabstract\abstract.midtrans-gateway.php:55
actionwoocommerce_view_orderabstract\abstract.midtrans-gateway.php:57
actioncreate-refund-requestabstract\abstract.midtrans-gateway.php:59
filtermidtrans_to_idr_rateabstract\abstract.midtrans-gateway.php:61
actionwoocommerce_api_wc_gateway_midtransclass\class.midtrans-gateway-notif-handler.php:22
actionmidtrans-handle-valid-notificationclass\class.midtrans-gateway-notif-handler.php:25
filterwoocommerce_order_data_store_cpt_get_orders_queryclass\finish-url-page.php:26
actionplugins_loadedmidtrans-gateway.php:46
actionbefore_woocommerce_initmidtrans-gateway.php:49
filterwoocommerce_payment_gatewaysmidtrans-gateway.php:108
actionwpmidtrans-gateway.php:165
Maintenance & Trust

Midtrans-WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 20, 2024
PHP min version
Downloads116K

Community Trust

Rating80/100
Number of ratings4
Active installs5K
Developer Profile

Midtrans-WooCommerce Developer Profile

Midtrans

2 plugins · 5K total installs

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

How We Detect Midtrans-WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/midtrans-woocommerce/assets/css/midtrans-admin.css/wp-content/plugins/midtrans-woocommerce/assets/css/midtrans-checkout.css/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-admin.js/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-checkout.js/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-checkout-redirect.js/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-redirect.js
Script Paths
/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-admin.js/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-checkout.js/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-checkout-redirect.js/wp-content/plugins/midtrans-woocommerce/assets/js/midtrans-redirect.js
Version Parameters
midtrans-woocommerce/assets/css/midtrans-admin.css?ver=midtrans-woocommerce/assets/css/midtrans-checkout.css?ver=midtrans-woocommerce/assets/js/midtrans-admin.js?ver=midtrans-woocommerce/assets/js/midtrans-checkout.js?ver=midtrans-woocommerce/assets/js/midtrans-checkout-redirect.js?ver=midtrans-woocommerce/assets/js/midtrans-redirect.js?ver=

HTML / DOM Fingerprints

CSS Classes
midtrans-admin-wrapmidtrans-checkout-iframe-wrapper
HTML Comments
Midtrans Payment Plugin for Wordrpress-WooCommerceThis program is free software; you can redistribute it and/orThis program is distributed in the hope that it will be useful,You should have received a copy of the GNU General Public License+2 more
Data Attributes
data-midtrans-checkout
JS Globals
midtrans_config
FAQ

Frequently Asked Questions about Midtrans-WooCommerce