Paytm Payment Gateway Security & Risk Analysis

wordpress.org/plugins/paytm-payments

Welcome to the official Paytm Payment Gateway plugin for Woocommerce. Paytm Payment Gateway is ideal for Woocommerce and Wordpress merchants since it …

3K active installs v2.8.7 PHP 7.4+ WP 4.0.1+ Updated Dec 11, 2025
paytmpaytm-payment-gatewaypaytm-paymentspaytm-woocommercepaywithpaytm
98
A · Safe
CVEs total2
Unpatched0
Last CVEFeb 22, 2023
Safety Verdict

Is Paytm Payment Gateway Safe to Use in 2026?

Generally Safe

Score 98/100

Paytm Payment Gateway has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Feb 22, 2023Updated 3mo ago
Risk Assessment

The "paytm-payments" plugin v2.8.7 exhibits a mixed security posture. On the positive side, it demonstrates strong practices in SQL query handling, with 100% of queries using prepared statements and a high percentage of output properly escaped. The absence of file operations and the limited use of bundled libraries are also strengths. However, a significant concern arises from the attack surface analysis, which reveals two AJAX handlers, one of which lacks authentication checks. Furthermore, the taint analysis shows six flows with unsanitized paths, all flagged as high severity. This indicates a potential for serious vulnerabilities, despite the absence of directly exploitable critical taint flows in this specific analysis.

The plugin's vulnerability history, with two known high-severity CVEs related to SQL Injection and SSRF, is concerning. While there are currently no unpatched CVEs, this historical pattern suggests a recurring tendency for these types of vulnerabilities to emerge in the plugin. The last vulnerability was recorded in early 2023, but the presence of high-severity taint flows with unsanitized paths in the current version points to potential lingering risks or the introduction of new, similar vulnerabilities. The combination of an unprotected entry point and high-severity taint flows with unsanitized paths is the most pressing risk. The plugin has room for improvement in its input validation and access control mechanisms to mitigate these risks.

Key Concerns

  • AJAX handler without auth checks
  • High severity taint flows with unsanitized paths
  • 2 High severity CVEs in vulnerability history
Vulnerabilities
2

Paytm Payment Gateway Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

High
2

2 total CVEs

CVE-2022-45805high · 8.8Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Paytm Payment Gateway <= 2.7.3 - Authenticated (Editor+) SQL Injection via 'post'

Feb 22, 2023 Patched in 2.7.7 (335d)
CVE-2022-45362high · 7.2Server-Side Request Forgery (SSRF)

Paytm Payment Gateway <= 2.7.0 - Unauthenticated Server-Side Request Forgery

Nov 29, 2022 Patched in 2.7.3 (420d)
Code Analysis
Analyzed Mar 16, 2026

Paytm Payment Gateway Code Analysis

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

SQL Query Safety

100% prepared10 total queries

Output Escaping

96% escaped79 total outputs
Data Flows
6 unsanitized

Data Flow Analysis

6 flows6 with unsanitized paths
check_paytm_response (class.paytm.php:526)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

Paytm Payment Gateway Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 2

authwp_ajax_setPaymentNotificationUrlclass.paytm.php:732
authwp_ajax_savetxnstatuswoo-paytm.php:338
WordPress Hooks 15
actioninitclass.paytm.php:44
actionwoocommerce_update_options_payment_gatewaysclass.paytm.php:50
actionadmin_enqueue_scriptsclass.paytm.php:783
actionbefore_woocommerce_initwoo-paytm.php:35
actionwoocommerce_blocks_loadedwoo-paytm.php:57
actionwoocommerce_blocks_payment_method_type_registrationwoo-paytm.php:67
actionwp_headwoo-paytm.php:123
actionwp_enqueue_scriptswoo-paytm.php:128
actionadd_meta_boxeswoo-paytm.php:133
actionadmin_headwoo-paytm.php:285
actionplugins_loadedwoo-paytm.php:395
filterwoocommerce_payment_gatewayswoo-paytm.php:405
actionthe_contentwoo-paytm.php:418
actionwp_headwoo-paytm.php:421
actionadmin_menuwoo-paytm.php:439
Maintenance & Trust

Paytm Payment Gateway Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 11, 2025
PHP min version7.4
Downloads173K

Community Trust

Rating62/100
Number of ratings15
Active installs3K
Developer Profile

Paytm Payment Gateway Developer Profile

integrationdevpaytm

5 plugins · 3K total installs

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

How We Detect Paytm 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/paytm-payments/assets/2.8.7/css/paytm-payments.css/wp-content/plugins/paytm-payments/assets/2.8.7/js/paytm-payments.js
Script Paths
/wp-content/plugins/paytm-payments/class-block.php
Version Parameters
paytm-payments/assets/2.8.7/css/paytm-payments.css?ver=paytm-payments/assets/2.8.7/js/paytm-payments.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-paytm-order-iddata-paytm-transaction-iddata-paytm-status
JS Globals
paytm_constants
FAQ

Frequently Asked Questions about Paytm Payment Gateway