The YayPricing WordPress plugin before 3.5.7 does not perform capability checks on several of its REST API routes, relying only on a shared nonce, allowing any authenticated user such as a subscriber to overwrite the store's pricing configuration and to disclose private coupon codes.
https://wpscan.com/vulnerability/c2346f90-130c-45da-92ca-31acaa2f4605/