SyliusApplication

CVE-2021-32720

MEDIUM · 5.3 CVSS v3.1 Published 2021-06-28
Fix available
A fix is available. Upgrade to 1.9.5 or later.
See remediation →
62/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Sylius is an Open Source eCommerce platform on top of Symfony. In versions of Sylius prior to 1.9.5 and 1.10.0-RC.1, part of the details (order ID, order number, items total, and token value) of all placed orders were exposed to unauthorized users. If exploited properly, a few additional information like the number of items in the cart and the date of the shipping may be fetched as well. This data seems to not be crucial nor is personal data, however, could be used for sociotechnical attacks or may expose a few details about shop condition to the third parties. The data possible to aggregate are the number of processed orders or their value in the moment of time. The problem has been patched at Sylius 1.9.5 and 1.10.0-RC.1. There are a few workarounds for the vulnerability. The first possible solution is to hide the problematic endpoints behind the firewall from not logged in users. This would put only the order list under the firewall and allow only authorized users to access it. Once a user is authorized, it will have access to theirs orders only. The second possible solution is to decorate the `\Sylius\Bundle\ApiBundle\Doctrine\QueryCollectionExtension\OrdersByLoggedInUserExtension` and throw `Symfony\Component\Security\Core\Exception\AccessDeniedException` if the class is executed for unauthorized user.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Sylius eCommerce platform prior to versions 1.9.5 and 1.10.0-RC1 exposes order details (order ID, order number, items total, token value) and optionally cart items/shipping dates through API endpoints without authentication. This information disclosure allows unauthorized users to access order data across the entire system via the API.

MitigationApply firewall restrictions to block unauthenticated access to order-related API endpoints, or decorate the OrdersByLoggedInUserExtension class to throw AccessDeniedException for unauthorized requests. Alternatively, upgrade to patched versions 1.9.5 or 1.10.0-RC1.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
SyliusApplication
Affected:>= 1.9.0, < 1.9.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Sylius version
    Locate the version file or composer.json in the Sylius installation directory and retrieve the version number.
    Affected if The installed version is >= 1.9.0 and < 1.9.5
  2. Confirm API endpoint exposure
    Send a GET request to the order-related API endpoint (such as /api/v1/orders) without providing any authentication credentials.
    Affected if The API returns order details (order ID, order number, items total, or token value) without requiring authentication
  3. Check for order token requirement bypass
    Attempt to access specific order endpoints using only the order token (e.g., /api/v1/orders/{token}) without logging in.
    Affected if The endpoint returns order information or cart items without requiring user authentication
  4. Verify firewall configuration
    Inspect the API firewall configuration to determine if order-related endpoints are protected by authentication.
    Affected if The firewall allows unauthenticated access to order API endpoints
  5. Check for AccessDeniedException on unauthorized requests
    Review the OrdersByLoggedInUserExtension class or its decoration to see if it throws AccessDeniedException for unauthenticated requests.
    Affected if The class does not enforce access control, allowing unauthorized order data retrieval

A user is affected if their Sylius installation version falls within 1.9.0 to 1.9.4 and the order API endpoints are accessible without authentication.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 1.9.5 or later
Fixed in 1.9.5
Interim mitigation

Apply firewall restrictions to block unauthenticated access to order-related API endpoints, or decorate the OrdersByLoggedInUserExtension class to throw AccessDeniedException for unauthorized requests. Alternatively, upgrade to patched versions 1.9.5 or 1.10.0-RC1.

Fix this in Sylius Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing2.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,420
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-32720 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-32720 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data