Razorpay for WooCommerce <= 4.8.8 - Unauthenticated Insecure Direct Object Reference via Magic Checkout Coupon Apply Endpoint

Medium 5.3 CWE-639Fixed in 4.8.9
ID
WPSEC-2026-2603
Plugin
Razorpay for WooCommerce (woo-razorpay)
Affected
from 3.0.0 before 4.8.9
Remediation
Update to 4.8.9 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-05
Attack surface
Razorpay for WooCommerce on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0