spree_api is vulnerable to Insecure Direct Object Reference (IDOR)
71
High Risk
The Store API v3 cart associate endpoint in spree_api binds a guest cart to the authenticated caller without verifying possession of that cart. It locates the cart by a reversible prefixed identifier and skips the authorize! cart-token check that its sibling actions enforce. An authenticated low-privilege customer can enumerate guest cart identifiers, take over arbitrary guest carts, and read the checkout addresses stored on them. The fix requires a valid cart token header and returns a 403 when it is missing or does not match the cart.
You are affected if you are using a version that falls within the vulnerable range and your store is not running in login-required mode.
spree_api is vulnerable to Insecure Direct Object Reference (IDOR) in versions 5.4.0 - 5.4.3 and 5.5.0 - 5.5.3.
Upgrade the spree_api library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant