Sampath bank payment gateway Security & Risk Analysis

wordpress.org/plugins/sampath-bank-ipg

WooCommerce Sampath bank payment gateway. Make your online payments via Sampath bank.

10 active installs v1.0 PHP + WP 3.9+ Updated Feb 10, 2016
payment-gatewaysampathsampath-banksampath-bank-srilankawoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Sampath bank payment gateway Safe to Use in 2026?

Generally Safe

Score 85/100

Sampath bank payment gateway has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 10yr ago
Risk Assessment

The "sampath-bank-ipg" plugin v1.0 exhibits a seemingly clean security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and a reported zero vulnerabilities in its history suggests a degree of development maturity or lack of publicly disclosed issues. Furthermore, the static analysis indicates a remarkably small attack surface, with no identified AJAX handlers, REST API routes, shortcodes, or cron events exposed. This is a significant strength, as it limits the potential entry points for attackers.

However, the code analysis reveals several concerning weaknesses that significantly undermine the plugin's overall security. A critical finding is the presence of a single SQL query that is not using prepared statements, indicating a high risk of SQL injection vulnerabilities. Additionally, all five identified output operations lack proper escaping, leaving the plugin susceptible to Cross-Site Scripting (XSS) attacks. The complete absence of nonce and capability checks on any potential entry points, coupled with the lack of authentication checks on AJAX handlers (even though there are none reported), points to a fundamental deficiency in securing the plugin's operations. While the attack surface is small, the unprotected nature of any potential future additions or the underlying functionality could be highly problematic.

In conclusion, while the plugin benefits from a lack of historical vulnerabilities and a minimal attack surface, the identified issues with raw SQL queries and unescaped output represent significant and exploitable risks. The absence of robust security checks like nonces and capability checks further exacerbates these concerns. Developers should prioritize addressing the SQL injection and XSS vulnerabilities immediately and implement proper authentication and authorization mechanisms.

Key Concerns

  • Raw SQL query without prepared statements
  • All outputs unescaped
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Sampath bank payment gateway Security Vulnerabilities

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

Sampath bank payment gateway Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

0% escaped5 total outputs
Attack Surface

Sampath bank payment gateway Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionplugins_loadedsampath-payment-gateway-woocommerce.php:12
actioninitsampath-payment-gateway-woocommerce.php:45
actionwoocommerce_update_options_payment_gatewayssampath-payment-gateway-woocommerce.php:50
actionwoocommerce_receipt_SampathIPGsampath-payment-gateway-woocommerce.php:52
filterwoocommerce_payment_gatewayssampath-payment-gateway-woocommerce.php:374
Maintenance & Trust

Sampath bank payment gateway Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedFeb 10, 2016
PHP min version
Downloads3K

Community Trust

Rating80/100
Number of ratings4
Active installs10
Developer Profile

Sampath bank payment gateway Developer Profile

Oganro

8 plugins · 190 total installs

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

How We Detect Sampath bank payment gateway

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/sampath-bank-ipg/sampath.jpg

HTML / DOM Fingerprints

HTML Comments
<!-- Sampath bank online payment gateway -->
Data Attributes
data-merchant_iddata-pg_instance_iddata-performdata-currency_codedata-hash_keydata-sucess_responce_code+4 more
FAQ

Frequently Asked Questions about Sampath bank payment gateway