Skip to content
Business logic Disclosed report Beginner

Potential to abuse pricing errors in saved carts

Saved Shopify carts retain the product price from when the cart was abandoned, even after the store changes the price. An attacker could bookmark a cart or keep an abandoned cart recovery email and later complete the purchase at the old, possibly discounted, price.

richardf Follow

Originally disclosed on HackerOne

Medium 4.4 View original
  • Triaged in 24 hours
  • Fixed in 20 days
  • Paid in 12 days
  • Disclosed after 21 days

If someone abandons a shopping cart and the price changes between that time and when the abandoned cart recovery email is sent, the saved cart will always show the old price.

If saved carts do not expire, this can create a situation where bad actors can fill and save shopping carts with sale priced items for purchase at any time in the future simply by bookmarking the cart or saving the abandoned cart recovery email.

One could for example, save 50% off sale prices in a cart in June and complete the transaction in December. Automated stores or stores in jurisdictions where pricing errors must be honored, may fulfill these purchases at incorrect prices.

Any Shopify store not using automated abandoned cart emails are probably susceptible to this.

To replicate this bug simply add any product to a cart with valid purchaser information and then abandon the cart. Then go to the shopify dashboard for that store and change the price for the product in the cart. Then click the abandoned cart link in the corresponding abandoned checkout or send an abandoned cart recovery email and click on the link in that email. The cart will show the old price and will never update.

Impact

If commonly known, this could dramatically undermine the integrity of the Shopify platform by allowing unethical consumers attempt to take advantage of vendors by saving and using invalid prices. Any Shopify store not using automated abandoned cart emails are probably susceptible to this.

The original report as published on HackerOne, by richardf. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the saved cart stores a price snapshot at abandonment time and the checkout flow does not re-validate it against the current product price.

Impact

Stores that do not use automated abandoned cart emails may be susceptible, and automated stores or stores that must honour pricing errors may fulfil purchases at incorrect prices.

What the attacker needed

A Shopify store; a saved or abandoned cart; a price change after abandonment

How it was found

  1. Add a product to a cart with valid purchaser information and abandon the cart.
  2. Change the product price in the Shopify store dashboard.
  3. Open the abandoned cart link or send and click an abandoned cart recovery email.
  4. Observe that the cart still shows the old price.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you add something to an online shopping cart, the shop usually remembers it. This report says that if you leave the cart and the shop later changes the price, the saved cart still shows the old price. Someone could keep that old cart link and buy later at the cheaper price, which the shop may have to honour.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.