Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more <= 9.6.8.0 - Unauthenticated Payment Bypass via 'child-config-id' Parameter

Medium 5.3 CWE-639Fixed in 9.6.8.1
ID
WPSEC-2026-4298
Plugin
Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more (knit-pay)
Affected
from 4.0.0 before 9.6.8.1
Remediation
Update to 9.6.8.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
Attack surface
Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more on WPSec AttackSurface
Fix released
Published

Description

The Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more plugin for WordPress is vulnerable to a payment bypass via the 'child-config-id' parameter of the Multi Gateway payment return handler in versions 4.0.0 up to, and including, 9.6.8.0. This is due to the Multi Gateway's update_status() function accepting any gateway configuration ID from the request and switching the payment to it, without verifying that the ID is one of the Multi Gateway's enabled gateways or that the payment is still open. This makes it possible for unauthenticated attackers who place an order on a site using a Multi Gateway configuration to route their own payment to any other gateway configuration on the site, including configurations not offered to customers, such as a Test gateway that lets the payer mark the payment as successful. This lets them complete orders without paying.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0