Razorpay for WooCommerce <= 4.8.8 - Unauthenticated Authentication Bypass via 'email' Parameter in Coupon Apply Endpoint
- ID
- WPSEC-2026-2604
- 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:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-287
- 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 Authentication Bypass via the 'email' parameter of the Magic Checkout coupon-apply REST endpoint in all versions up to, and including, 4.8.8, due to the unauthenticated endpoint looking up a user by an unverified email address supplied in the request and passing that user to wp_set_current_user(). This makes it possible for unauthenticated attackers who know a user's email address to act as that user, including administrators, for the rest of the coupon-apply request, for example to apply coupons that are restricted to that user. Exploitation requires the Smart Coupons for WooCommerce plugin to be active.
References
- https://wpsec.com/vuln/WPSEC-2026-2604/
- https://plugins.svn.wordpress.org/woo-razorpay/tags/4.8.9/
- https://wordpress.org/plugins/woo-razorpay/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS