Vulnerabilities / Lootly Loyalty & Rewards / WPSEC-2026-3398
Lootly Loyalty & Rewards <= 1.49 - Missing Authorization to Unauthenticated Discount Code Creation via 'discount-codes' REST Endpoint
Medium 5.3
CWE-862Fixed in 1.49.3
- ID
- WPSEC-2026-3398
- Plugin
- Lootly Loyalty & Rewards (lootly-for-woocommerce)
- Affected
- from 1.13 before 1.49.3
- Remediation
- Update to 1.49.3 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-862
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-18
- Attack surface
- Lootly Loyalty & Rewards on WPSec AttackSurface
- Fix released
- Published
Description
The Lootly Loyalty & Rewards plugin for WordPress is vulnerable to unauthorized modification of data via the /lootly/discount-codes/ REST endpoint in all versions up to, and including, 1.49, due to a permission callback that always returns true instead of requiring a valid Lootly signature. This makes it possible for unauthenticated attackers to create WooCommerce coupons with a code, amount and discount type of their choice.
References
- https://wpsec.com/vuln/WPSEC-2026-3398/
- https://plugins.svn.wordpress.org/lootly-for-woocommerce/tags/1.49.3/
- https://wordpress.org/plugins/lootly-for-woocommerce/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS