{
 "id": "WPSEC-2026-2603",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2603/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2603/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2603/index.md",
 "title": "Razorpay for WooCommerce <= 4.8.8 - Unauthenticated Insecure Direct Object Reference via Magic Checkout Coupon Apply Endpoint",
 "description": "The Razorpay for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference via the Magic Checkout coupon-apply REST endpoint (/wp-json/1cc/v1/coupon/apply) in all versions up to, and including, 4.8.8, due to the route's permission callback always returning true and the handler not checking that the caller is tied to the supplied 'order_id'. This makes it possible for unauthenticated attackers to rebuild the cart from any customer's order and read that order's value through the discount amount returned for a coupon.",
 "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": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.0.0",
    "from_inclusive": true,
    "to": "4.8.9",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.0.0 before 4.8.9"
  ]
 },
 "introduced_in": "3.0.0",
 "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-2603/",
  "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"
 }
}