{
 "id": "WPSEC-2026-2602",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2602/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2602/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2602/index.md",
 "title": "Razorpay for WooCommerce <= 4.8.8 - Unauthenticated SQL Injection via Webhook Event Processing",
 "description": "The Razorpay for WooCommerce plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'woocommerce_order_id' payment note processed by the payment.authorized webhook in all versions up to, and including, 4.8.8, due to insufficient escaping and lack of preparation of the SQL query in saveWebhookEvent(). The webhook is signed by Razorpay, but the payment notes come from the checkout options in the shopper's browser. This makes it possible for unauthenticated attackers who complete a payment authorization with altered checkout notes to append additional SQL to an existing query and extract sensitive information from the database.",
 "plugin": {
  "slug": "woo-razorpay",
  "name": "Razorpay for WooCommerce",
  "full_name": "Razorpay for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/woo-razorpay/",
  "advisories_url": "https://wpsec.com/vuln/plugin/woo-razorpay/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/woo-razorpay"
 },
 "type": "SQLI",
 "cwe": [
  "CWE-89"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.9,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.8.9",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.8.9"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.8.9",
 "remediation": "Update to 4.8.9 or later.",
 "fix_released": "2026-11-04T16:56:55+00:00",
 "published": "2026-11-05T17:46:16+00:00",
 "updated": "2026-11-05T09:51:55.994477+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2602/",
  "https://plugins.svn.wordpress.org/woo-razorpay/tags/4.8.9/",
  "https://wordpress.org/plugins/woo-razorpay/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/woo-razorpay",
 "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-05"
 }
}