Lookup for vulnerable packages by Package URL.

Purlpkg:composer/sylius/sylius@2.2.3
Typecomposer
Namespacesylius
Namesylius
Version2.2.3
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_versionnull
Latest_non_vulnerable_versionnull
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-15s8-g3t6-vbg4
vulnerability_id VCID-15s8-g3t6-vbg4
summary
Sylius has a XSS vulnerability in checkout login form
A cross-site scripting (XSS) vulnerability exists in the shop checkout login form handled by the ApiLoginController Stimulus controller.

When a login attempt fails, AuthenticationFailureHandler returns a JSON response whose message field is rendered into the DOM using innerHTML, allowing any HTML or JavaScript in that value to be parsed and executed by the browser.

The message value originates from `AuthenticationException::getMessageKey()` passed through Symfony's translator (security domain, using the request locale). In the default Sylius installation, this returns a hardcoded translation key (e.g. "Invalid credentials."), which is not directly user-controlled. However, using innerHTML with server-derived data violates defense-in-depth principles, and the risk escalates significantly under realistic scenarios:
- Customized authentication handlers — if a project overrides AuthenticationFailureHandler to include user-supplied data in the message (e.g. "No account found for <username>"), an attacker can inject arbitrary JavaScript directly via the login
form without any privileged access.
- Translation injection — if translation files are sourced from an untrusted database or CMS and contain HTML, the message could carry a malicious payload.
- Man-in-the-Middle — if the response is intercepted (e.g. on HTTP or via a compromised proxy), an attacker can inject arbitrary HTML/JS into the message field.
- Server-side injection — if any middleware, reverse proxy, or error handler modifies the JSON response body, malicious content could be injected into the message field.

Exploitation could lead to session hijacking, credential theft, cart/order manipulation, or phishing within the trusted shop domain.

The vulnerability affects all Sylius installations that use the default shop checkout login form with the bundled ApiLoginController.js.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31822
reference_id
reference_type
scores
0
value 0.00051
scoring_system epss
scoring_elements 0.16421
published_at 2026-06-06T12:55:00Z
1
value 0.00051
scoring_system epss
scoring_elements 0.16423
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31822
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31822
reference_id CVE-2026-31822
reference_type
scores
0
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31822
3
reference_url https://github.com/advisories/GHSA-vgh8-c6fp-7gcg
reference_id GHSA-vgh8-c6fp-7gcg
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-vgh8-c6fp-7gcg
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-vgh8-c6fp-7gcg
reference_id GHSA-vgh8-c6fp-7gcg
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
1
value 5.3
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-11T15:53:32Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-vgh8-c6fp-7gcg
fixed_packages
0
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
1
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
2
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31822, GHSA-vgh8-c6fp-7gcg
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-15s8-g3t6-vbg4
1
url VCID-33hq-p2xm-nqfb
vulnerability_id VCID-33hq-p2xm-nqfb
summary
Sylius Vulnerable to Authenticated Stored XSS
An authenticated stored cross-site scripting (XSS) vulnerability exists in multiple places across the shop frontend and admin panel due to unsanitized entity names being rendered as raw HTML.

**Shop breadcrumbs** (`shared/breadcrumbs.html.twig`): The `breadcrumbs` macro uses the Twig `|raw` filter on label values. Since taxon names, product names, and ancestor names flow directly into these labels, a malicious taxon name like `<img src=x onerror=alert('XSS')>` is rendered and executed as JavaScript on the storefront.

**Admin product taxon picker** (`ProductTaxonTreeController.js`): The `rowRenderer` method interpolates `${name}` directly into a template literal building HTML, allowing script injection through taxon names in the admin panel.

**Admin autocomplete fields** (Tom Select): Dropdown items and options render entity names as raw HTML without escaping, allowing XSS through any autocomplete field displaying entity names.

An **authenticated administrator** can inject arbitrary HTML or JavaScript via entity names (e.g. taxon name) that is persistently rendered for all users.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31823
reference_id
reference_type
scores
0
value 0.00043
scoring_system epss
scoring_elements 0.13646
published_at 2026-06-06T12:55:00Z
1
value 0.00043
scoring_system epss
scoring_elements 0.13642
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31823
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31823
reference_id CVE-2026-31823
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31823
3
reference_url https://github.com/advisories/GHSA-mx4q-xxc9-pf5q
reference_id GHSA-mx4q-xxc9-pf5q
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-mx4q-xxc9-pf5q
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-mx4q-xxc9-pf5q
reference_id GHSA-mx4q-xxc9-pf5q
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-11T15:51:57Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-mx4q-xxc9-pf5q
fixed_packages
0
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
1
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
2
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31823, GHSA-mx4q-xxc9-pf5q
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-33hq-p2xm-nqfb
2
url VCID-6ep3-u13e-2kc8
vulnerability_id VCID-6ep3-u13e-2kc8
summary
Sylius has an Open Redirect via Referer Header
`CurrencySwitchController::switchAction()`, `ImpersonateUserController::impersonateAction()` and `StorageBasedLocaleSwitcher::handle()` use the HTTP Referer header directly when redirecting.

The attack requires the victim to click a legitimate application link placed on an attacker-controlled page. The browser automatically sends the attacker's site as the Referer, and the application redirects back to it. This can be used for phishing or credential theft, as the redirect originates from a trusted domain.

The severity varies by endpoint; public endpoints require no authentication and are trivially exploitable, while admin-only endpoints require an authenticated session but remain vulnerable if an admin follows a link from an external source such as email or chat.

Affected classes:
- `CurrencySwitchController::switchAction()` - public
- `StorageBasedLocaleSwitcher::handle()` - public, used in locale switching without having locale in the `url`
- `ImpersonateUserController::impersonateAction()` - admin-only
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31819
reference_id
reference_type
scores
0
value 0.00055
scoring_system epss
scoring_elements 0.17585
published_at 2026-06-06T12:55:00Z
1
value 0.00055
scoring_system epss
scoring_elements 0.17591
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31819
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 6.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31819
reference_id CVE-2026-31819
reference_type
scores
0
value 6.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31819
3
reference_url https://github.com/advisories/GHSA-9ffx-f77r-756w
reference_id GHSA-9ffx-f77r-756w
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-9ffx-f77r-756w
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-9ffx-f77r-756w
reference_id GHSA-9ffx-f77r-756w
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
1
value 6.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-11T15:53:35Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-9ffx-f77r-756w
fixed_packages
0
url pkg:composer/sylius/sylius@1.9.12
purl pkg:composer/sylius/sylius@1.9.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.9.12
1
url pkg:composer/sylius/sylius@1.10.16
purl pkg:composer/sylius/sylius@1.10.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.10.16
2
url pkg:composer/sylius/sylius@1.11.17
purl pkg:composer/sylius/sylius@1.11.17
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.11.17
3
url pkg:composer/sylius/sylius@1.12.23
purl pkg:composer/sylius/sylius@1.12.23
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.12.23
4
url pkg:composer/sylius/sylius@1.13.15
purl pkg:composer/sylius/sylius@1.13.15
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.13.15
5
url pkg:composer/sylius/sylius@1.14.18
purl pkg:composer/sylius/sylius@1.14.18
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.14.18
6
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
7
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
8
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31819, GHSA-9ffx-f77r-756w
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-6ep3-u13e-2kc8
3
url VCID-e88w-vndp-cbcb
vulnerability_id VCID-e88w-vndp-cbcb
summary
Sylius affected by IDOR in Cart and Checkout LiveComponents
Create `src/Twig/Components/Cart/SummaryComponent.php`:

```php
<?php

declare(strict_types=1);

namespace App\Twig\Components\Cart;

use Sylius\Bundle\ShopBundle\Twig\Component\Cart\FormComponent;
use Sylius\Bundle\UiBundle\Twig\Component\ResourceLivePropTrait;
use Sylius\Bundle\UiBundle\Twig\Component\TemplatePropTrait;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Sylius\Resource\Model\ResourceInterface;
use Sylius\TwigHooks\LiveComponent\HookableLiveComponentTrait;
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
use Symfony\UX\LiveComponent\Attribute\LiveArg;
use Symfony\UX\LiveComponent\Attribute\LiveListener;
use Symfony\UX\LiveComponent\Attribute\LiveProp;
use Symfony\UX\LiveComponent\DefaultActionTrait;
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31820
reference_id
reference_type
scores
0
value 0.00021
scoring_system epss
scoring_elements 0.0592
published_at 2026-06-06T12:55:00Z
1
value 0.00021
scoring_system epss
scoring_elements 0.05929
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31820
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31820
reference_id CVE-2026-31820
reference_type
scores
0
value 7.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31820
3
reference_url https://github.com/advisories/GHSA-2xc6-348p-c2x6
reference_id GHSA-2xc6-348p-c2x6
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-2xc6-348p-c2x6
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-2xc6-348p-c2x6
reference_id GHSA-2xc6-348p-c2x6
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value 7.1
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-11T15:52:01Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-2xc6-348p-c2x6
fixed_packages
0
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
1
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
2
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31820, GHSA-2xc6-348p-c2x6
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-e88w-vndp-cbcb
4
url VCID-kga1-jcjw-mfgn
vulnerability_id VCID-kga1-jcjw-mfgn
summary
Sylius has a Promotion Usage Limit Bypass via Race Condition
A Time-of-Check To Time-of-Use (TOCTOU) race condition was discovered in the promotion usage limit enforcement. The same class of vulnerability affects three independent limits:

1. **Promotion usage limit** - the global `used` counter on `Promotion` entities
2. **Coupon usage limit** - the global `used` counter on `PromotionCoupon` entities
3. **Coupon per-customer usage limit** - the per-customer redemption count on `PromotionCoupon` entities

In all three cases, the eligibility check reads the `used` counter (or order count) from an in-memory Doctrine entity during validation, while the actual usage increment in `OrderPromotionsUsageModifier` happens later during order completion — with no database-level locking or atomic operations between the two phases.

Because Doctrine flushes an absolute value (`SET used = 1`) rather than an atomic increment (`SET used = used + 1`), and because the affected entities lack optimistic locking, concurrent requests all read the same stale usage counts and pass the eligibility checks simultaneously.

An attacker can exploit this by preparing multiple carts with the same limited-use promotion or coupon and firing simultaneous `PATCH /api/v2/shop/orders/{token}/complete` requests. All requests pass the usage limit checks and complete successfully, allowing a single-use promotion or coupon to be redeemed an arbitrary number of times. The per-customer limit can be bypassed in the same way by a single customer completing multiple orders concurrently. No authentication is required to exploit this vulnerability.

This may lead to direct financial loss through unlimited redemption of limited-use promotions and discount coupons.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31824
reference_id
reference_type
scores
0
value 0.00067
scoring_system epss
scoring_elements 0.20922
published_at 2026-06-06T12:55:00Z
1
value 0.00067
scoring_system epss
scoring_elements 0.20937
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31824
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31824
reference_id CVE-2026-31824
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31824
3
reference_url https://github.com/advisories/GHSA-7mp4-25j8-hp5q
reference_id GHSA-7mp4-25j8-hp5q
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-7mp4-25j8-hp5q
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-7mp4-25j8-hp5q
reference_id GHSA-7mp4-25j8-hp5q
reference_type
scores
0
value 8.2
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-11T15:53:30Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-7mp4-25j8-hp5q
fixed_packages
0
url pkg:composer/sylius/sylius@1.9.12
purl pkg:composer/sylius/sylius@1.9.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.9.12
1
url pkg:composer/sylius/sylius@1.10.16
purl pkg:composer/sylius/sylius@1.10.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.10.16
2
url pkg:composer/sylius/sylius@1.11.17
purl pkg:composer/sylius/sylius@1.11.17
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.11.17
3
url pkg:composer/sylius/sylius@1.12.23
purl pkg:composer/sylius/sylius@1.12.23
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.12.23
4
url pkg:composer/sylius/sylius@1.13.15
purl pkg:composer/sylius/sylius@1.13.15
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.13.15
5
url pkg:composer/sylius/sylius@1.14.18
purl pkg:composer/sylius/sylius@1.14.18
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.14.18
6
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
7
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
8
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31824, GHSA-7mp4-25j8-hp5q
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-kga1-jcjw-mfgn
5
url VCID-s53m-jutw-d7gx
vulnerability_id VCID-s53m-jutw-d7gx
summary
Sylius is Missing Authorization in API v2 Add Item Endpoint
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`.

```
POST /api/v2/shop/orders/{tokenValue}/items
```

Other mutation endpoints (PUT, PATCH, DELETE) are **not affected**. API Platform loads the Order entity through the state provider for these operations, which triggers `VisitorBasedExtension` and returns 404 for unauthorized users.

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), potentially leaking:

- Customer email address
- Cart contents (products, quantities, prices)
- Address data (billing and shipping if set)
- Payment and shipment IDs
- Order totals and tax breakdown
- Checkout state
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31821
reference_id
reference_type
scores
0
value 0.00112
scoring_system epss
scoring_elements 0.29397
published_at 2026-06-06T12:55:00Z
1
value 0.00112
scoring_system epss
scoring_elements 0.29433
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31821
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 6.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31821
reference_id CVE-2026-31821
reference_type
scores
0
value 6.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31821
3
reference_url https://github.com/advisories/GHSA-wjmg-4cq5-m8hg
reference_id GHSA-wjmg-4cq5-m8hg
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-wjmg-4cq5-m8hg
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-wjmg-4cq5-m8hg
reference_id GHSA-wjmg-4cq5-m8hg
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
1
value 6.9
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-11T15:09:13Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-wjmg-4cq5-m8hg
fixed_packages
0
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
1
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
2
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31821, GHSA-wjmg-4cq5-m8hg
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-s53m-jutw-d7gx
6
url VCID-t3xh-2paj-hbg4
vulnerability_id VCID-t3xh-2paj-hbg4
summary
Sylius has a DQL Injection via API Order Filters
Sylius API filters `ProductPriceOrderFilter` and `TranslationOrderNameAndLocaleFilter` pass user-supplied order direction values directly to Doctrine's `orderBy()` without validation. An attacker can inject arbitrary DQL:

```
GET /api/v2/shop/products?order[price]=ASC,%20variant.code%20DESC
```
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-31825
reference_id
reference_type
scores
0
value 0.00047
scoring_system epss
scoring_elements 0.1518
published_at 2026-06-06T12:55:00Z
1
value 0.00047
scoring_system epss
scoring_elements 0.1519
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-31825
1
reference_url https://github.com/Sylius/Sylius
reference_id
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/Sylius/Sylius
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-31825
reference_id CVE-2026-31825
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-31825
3
reference_url https://github.com/advisories/GHSA-xcwx-r2gw-w93m
reference_id GHSA-xcwx-r2gw-w93m
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-xcwx-r2gw-w93m
4
reference_url https://github.com/Sylius/Sylius/security/advisories/GHSA-xcwx-r2gw-w93m
reference_id GHSA-xcwx-r2gw-w93m
reference_type
scores
0
value 5.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-11T14:29:15Z/
url https://github.com/Sylius/Sylius/security/advisories/GHSA-xcwx-r2gw-w93m
fixed_packages
0
url pkg:composer/sylius/sylius@1.9.12
purl pkg:composer/sylius/sylius@1.9.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.9.12
1
url pkg:composer/sylius/sylius@1.10.16
purl pkg:composer/sylius/sylius@1.10.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.10.16
2
url pkg:composer/sylius/sylius@1.11.17
purl pkg:composer/sylius/sylius@1.11.17
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.11.17
3
url pkg:composer/sylius/sylius@1.12.23
purl pkg:composer/sylius/sylius@1.12.23
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.12.23
4
url pkg:composer/sylius/sylius@1.13.15
purl pkg:composer/sylius/sylius@1.13.15
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.13.15
5
url pkg:composer/sylius/sylius@1.14.18
purl pkg:composer/sylius/sylius@1.14.18
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@1.14.18
6
url pkg:composer/sylius/sylius@2.0.16
purl pkg:composer/sylius/sylius@2.0.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.16
7
url pkg:composer/sylius/sylius@2.1.12
purl pkg:composer/sylius/sylius@2.1.12
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.1.12
8
url pkg:composer/sylius/sylius@2.2.3
purl pkg:composer/sylius/sylius@2.2.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3
aliases CVE-2026-31825, GHSA-xcwx-r2gw-w93m
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-t3xh-2paj-hbg4
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.2.3