# Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more <= 9.6.8.1 - Unauthenticated Payment Bypass via 'knit_pay_config_id' Parameter

- **ID:** WPSEC-2026-4309
- **Plugin:** Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more (`knit-pay`), https://wordpress.org/plugins/knit-pay/
- **Affected versions:** all versions before 9.6.8.2
- **Fixed in:** 9.6.8.2 (Update to 9.6.8.2 or later.)
- **Severity:** Low 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/knit-pay
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4309/

## Description

The Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more plugin for WordPress is vulnerable to Payment Bypass via the 'knit_pay_config_id' parameter in the Paid Memberships Pro integration in all versions up to, and including, 9.6.8.1, due to the checkout using the payment configuration ID sent with the checkout form without checking that it is one of the configurations the administrator enabled for Paid Memberships Pro. This makes it possible for unauthenticated attackers to make a membership checkout use any other Knit Pay gateway configuration on the site, such as a Test (payment simulator) or sandbox configuration, and get a paid membership without making a real payment. Exploitation requires such a configuration to exist on the site.

## References

- https://wpsec.com/vuln/WPSEC-2026-4309/
- https://plugins.svn.wordpress.org/knit-pay/tags/9.6.8.2/
- https://wordpress.org/plugins/knit-pay/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4309/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
