Skip to main content
← All vulnerabilities
CVE-2026-31821GHSA-WJMG-4CQ5-M8HG

Sylius is Missing Authorization in API v2 Add Item Endpoint

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.3, 2.1.12, 2.0.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Sylius is an Open Source eCommerce Framework on Symfony. The POST /api/v2/shop/orders/{tokenValue}/items endpoint does not verify cart ownership. An unauthenticated attacker can add items to other registered customers' carts by knowing the cart tokenValue. An attacker who obtains a cart tokenValue can add arbitrary items to another customer's cart. The endpoint returns the full cart representation in the response (HTTP 201). The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Sylius Sylius

    From 2.2.0 · fixed in 2.2.3; From 2.1.0 · fixed in 2.1.12; From 2.0.0 · fixed in 2.0.16

  • sylius/syliusPackagist

    From 2.0.0 · fixed in 2.0.16

  • sylius/syliusPackagist

    From 2.1.0 · fixed in 2.1.12

  • sylius/syliusPackagist

    From 2.2.0 · fixed in 2.2.3

References 1

GitHub · Sylius/Sylius