Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more <= 9.6.4.0 - Unauthenticated Missing Authorization to Payment Cancellation via Stripe Webhook
- ID
- WPSEC-2026-3170
- Plugin
- Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more (knit-pay)
- Affected
- from 8.96.11.0 before 9.6.5.0
- Remediation
- Update to 9.6.5.0 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-345
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-15
- Attack surface
- Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more on WPSec AttackSurface
- Fix released
- Published
Description
The Knit Pay plugin for WordPress is vulnerable to unauthorized modification of data via the Stripe webhook endpoint (kp_stripe_webhook) in all versions up to, and including, 9.6.4.0, due to the endpoint processing an unsigned JSON body, selecting the payment from the request-supplied knitpay_payment_id metadata without checking it against the payment's stored Stripe Checkout session ID, and honouring a 'cancelled' query parameter on webhook requests. This makes it possible for unauthenticated attackers to mark arbitrary pending Stripe payments as cancelled, and to force payment status refreshes and add notes to arbitrary payments.
References
- https://wpsec.com/vuln/WPSEC-2026-3170/
- https://plugins.svn.wordpress.org/knit-pay/tags/9.6.5.0/
- https://wordpress.org/plugins/knit-pay/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS