Missing Authorization in Sylius - CVE-2026-31821
Published: April 27, 2026
Sylius
Detailed vulnerability description
The vulnerability allows a remote attacker to modify another customer's cart and disclose sensitive information.
The vulnerability exists due to missing authorization in the API v2 add item endpoint when handling POST requests to /api/v2/shop/orders/{tokenValue}/items. A remote attacker can send a specially crafted request with a known cart tokenValue to modify another customer's cart and disclose sensitive information.
The endpoint response may include the full cart representation, including customer email address, cart contents, address data, payment and shipment IDs, order totals, tax breakdown, and checkout state.