K2 Custom Payment Gateway for WooCommerce Security & Risk Analysis

wordpress.org/plugins/k2-woo-custom-payment-gateway

K2 Custom Payment Gateway is an woocommerce custom payment gateway with dynamic fields and more user freedom.

0 active installs v1.2 PHP 5.6+ WP 5.2+ Updated Nov 12, 2020
essentialswoocommercewordpress
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is K2 Custom Payment Gateway for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

K2 Custom 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 5yr ago
Risk Assessment

The 'k2-woo-custom-payment-gateway' plugin version 1.2 presents a generally favorable security posture based on the provided static analysis. There are no identified AJAX handlers, REST API routes, shortcodes, or cron events, resulting in a zero attack surface and no unprotected entry points. Furthermore, the absence of dangerous functions, file operations, external HTTP requests, and a lack of recorded vulnerabilities in its history are strong indicators of secure development practices. The code also demonstrates good SQL hygiene by exclusively using prepared statements.

However, a significant concern arises from the very low percentage of properly escaped output (17%). This suggests a high potential for cross-site scripting (XSS) vulnerabilities, where untrusted input might be rendered directly into the user's browser without adequate sanitization. Additionally, the complete absence of nonce checks and capability checks across all entry points, even if limited in number, is a notable weakness. While the attack surface is currently zero, this indicates a lack of defensive programming for potential future expansions or unforeseen interaction points. The lack of taint analysis results also makes it difficult to fully assess complex data flow vulnerabilities.

In conclusion, while the plugin benefits from a clean vulnerability history and secure handling of SQL and entry points, the poor output escaping and the absence of essential security checks like nonces and capability checks represent significant weaknesses that could be exploited. These issues should be addressed to improve the overall security of the plugin, particularly concerning potential XSS attacks.

Key Concerns

  • Low output escaping percentage
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

K2 Custom Payment Gateway for WooCommerce Security Vulnerabilities

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

K2 Custom Payment Gateway for WooCommerce Code Analysis

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

Output Escaping

17% escaped6 total outputs
Attack Surface

K2 Custom Payment Gateway for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
filterwoocommerce_payment_gatewaysK2_Custom_Payment_Gateway.php:19
actionadmin_noticesK2_Custom_Payment_Gateway.php:30
actionplugins_loadedK2_Custom_Payment_Gateway.php:45
actionwp_enqueue_scriptsK2_Custom_Payment_Gateway.php:77
actionwoocommerce_email_before_order_tableK2_Custom_Payment_Gateway.php:85
actionwp_enqueue_scriptsK2_Custom_Payment_Gateway.php:90
actionwoocommerce_checkout_processK2_Custom_Payment_Gateway.php:218
Maintenance & Trust

K2 Custom Payment Gateway for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedNov 12, 2020
PHP min version5.6
Downloads946

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

K2 Custom Payment Gateway for WooCommerce Developer Profile

pookidevs

3 plugins · 10 total installs

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

How We Detect K2 Custom 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/k2-woo-custom-payment-gateway/style.css/wp-content/plugins/k2-woo-custom-payment-gateway/custom_payment.js
Script Paths
/wp-content/plugins/k2-woo-custom-payment-gateway/custom_payment.js
Version Parameters
k2-woo-custom-payment-gateway/style.css?ver=k2-woo-custom-payment-gateway/custom_payment.js?ver=

HTML / DOM Fingerprints

Data Attributes
id="custom_input"
FAQ

Frequently Asked Questions about K2 Custom Payment Gateway for WooCommerce