{
 "id": "WPSEC-2026-3170",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3170/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3170/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3170/index.md",
 "title": "Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more <= 9.6.4.0 - Unauthenticated Missing Authorization to Payment Cancellation via Stripe Webhook",
 "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.",
 "plugin": {
  "slug": "knit-pay",
  "name": "Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more",
  "full_name": "Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more",
  "wordpress_org": "https://wordpress.org/plugins/knit-pay/",
  "advisories_url": "https://wpsec.com/vuln/plugin/knit-pay/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/knit-pay"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-345"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "8.96.11.0",
    "from_inclusive": true,
    "to": "9.6.5.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 8.96.11.0 before 9.6.5.0"
  ]
 },
 "introduced_in": "8.96.11.0",
 "fixed_in": "9.6.5.0",
 "remediation": "Update to 9.6.5.0 or later.",
 "fix_released": "2026-11-14T21:34:57+00:00",
 "published": "2026-11-15T21:40:42+00:00",
 "updated": "2026-11-15T17:21:41.710598+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/knit-pay",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-15"
 }
}