Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/980852?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/980852?format=api", "purl": "pkg:composer/sylius/sylius@2.0.6", "type": "composer", "namespace": "sylius", "name": "sylius", "version": "2.0.6", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.0.16", "latest_non_vulnerable_version": "2.2.3", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50879?format=api", "vulnerability_id": "VCID-15s8-g3t6-vbg4", "summary": "Sylius has a XSS vulnerability in checkout login form\nA cross-site scripting (XSS) vulnerability exists in the shop checkout login form handled by the ApiLoginController Stimulus controller.\n\nWhen 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.\n\nThe 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:\n- 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\nform without any privileged access.\n- Translation injection — if translation files are sourced from an untrusted database or CMS and contain HTML, the message could carry a malicious payload.\n- 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.\n- 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.\n\nExploitation could lead to session hijacking, credential theft, cart/order manipulation, or phishing within the trusted shop domain.\n\nThe vulnerability affects all Sylius installations that use the default shop checkout login form with the bundled ApiLoginController.js.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31822", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31822", "reference_id": "CVE-2026-31822", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31822" }, { "reference_url": "https://github.com/advisories/GHSA-vgh8-c6fp-7gcg", "reference_id": "GHSA-vgh8-c6fp-7gcg", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-vgh8-c6fp-7gcg" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-vgh8-c6fp-7gcg", "reference_id": "GHSA-vgh8-c6fp-7gcg", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50875?format=api", "vulnerability_id": "VCID-33hq-p2xm-nqfb", "summary": "Sylius Vulnerable to Authenticated Stored XSS\nAn 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.\n\n**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.\n\n**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.\n\n**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.\n\nAn **authenticated administrator** can inject arbitrary HTML or JavaScript via entity names (e.g. taxon name) that is persistently rendered for all users.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31823", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31823", "reference_id": "CVE-2026-31823", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31823" }, { "reference_url": "https://github.com/advisories/GHSA-mx4q-xxc9-pf5q", "reference_id": "GHSA-mx4q-xxc9-pf5q", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-mx4q-xxc9-pf5q" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-mx4q-xxc9-pf5q", "reference_id": "GHSA-mx4q-xxc9-pf5q", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50847?format=api", "vulnerability_id": "VCID-6ep3-u13e-2kc8", "summary": "Sylius has an Open Redirect via Referer Header\n`CurrencySwitchController::switchAction()`, `ImpersonateUserController::impersonateAction()` and `StorageBasedLocaleSwitcher::handle()` use the HTTP Referer header directly when redirecting.\n\nThe 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.\n\nThe 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.\n\nAffected classes:\n- `CurrencySwitchController::switchAction()` - public\n- `StorageBasedLocaleSwitcher::handle()` - public, used in locale switching without having locale in the `url`\n- `ImpersonateUserController::impersonateAction()` - admin-only", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31819", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31819", "reference_id": "CVE-2026-31819", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31819" }, { "reference_url": "https://github.com/advisories/GHSA-9ffx-f77r-756w", "reference_id": "GHSA-9ffx-f77r-756w", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-9ffx-f77r-756w" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-9ffx-f77r-756w", "reference_id": "GHSA-9ffx-f77r-756w", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50855?format=api", "vulnerability_id": "VCID-e88w-vndp-cbcb", "summary": "Sylius affected by IDOR in Cart and Checkout LiveComponents\nCreate `src/Twig/Components/Cart/SummaryComponent.php`:\n\n```php\n<?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Twig\\Components\\Cart;\n\nuse Sylius\\Bundle\\ShopBundle\\Twig\\Component\\Cart\\FormComponent;\nuse Sylius\\Bundle\\UiBundle\\Twig\\Component\\ResourceLivePropTrait;\nuse Sylius\\Bundle\\UiBundle\\Twig\\Component\\TemplatePropTrait;\nuse Sylius\\Component\\Core\\Model\\OrderInterface;\nuse Sylius\\Component\\Core\\Repository\\OrderRepositoryInterface;\nuse Sylius\\Resource\\Model\\ResourceInterface;\nuse Sylius\\TwigHooks\\LiveComponent\\HookableLiveComponentTrait;\nuse Symfony\\UX\\LiveComponent\\Attribute\\AsLiveComponent;\nuse Symfony\\UX\\LiveComponent\\Attribute\\LiveArg;\nuse Symfony\\UX\\LiveComponent\\Attribute\\LiveListener;\nuse Symfony\\UX\\LiveComponent\\Attribute\\LiveProp;\nuse Symfony\\UX\\LiveComponent\\DefaultActionTrait;", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31820", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31820", "reference_id": "CVE-2026-31820", "reference_type": "", "scores": [ { "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" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31820" }, { "reference_url": "https://github.com/advisories/GHSA-2xc6-348p-c2x6", "reference_id": "GHSA-2xc6-348p-c2x6", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-2xc6-348p-c2x6" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-2xc6-348p-c2x6", "reference_id": "GHSA-2xc6-348p-c2x6", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "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" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50870?format=api", "vulnerability_id": "VCID-kga1-jcjw-mfgn", "summary": "Sylius has a Promotion Usage Limit Bypass via Race Condition\nA 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:\n\n1. **Promotion usage limit** - the global `used` counter on `Promotion` entities\n2. **Coupon usage limit** - the global `used` counter on `PromotionCoupon` entities\n3. **Coupon per-customer usage limit** - the per-customer redemption count on `PromotionCoupon` entities\n\nIn 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.\n\nBecause 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.\n\nAn 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.\n\nThis may lead to direct financial loss through unlimited redemption of limited-use promotions and discount coupons.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31824", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31824", "reference_id": "CVE-2026-31824", "reference_type": "", "scores": [ { "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" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31824" }, { "reference_url": "https://github.com/advisories/GHSA-7mp4-25j8-hp5q", "reference_id": "GHSA-7mp4-25j8-hp5q", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-7mp4-25j8-hp5q" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-7mp4-25j8-hp5q", "reference_id": "GHSA-7mp4-25j8-hp5q", "reference_type": "", "scores": [ { "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" }, { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50830?format=api", "vulnerability_id": "VCID-s53m-jutw-d7gx", "summary": "Sylius is Missing Authorization in API v2 Add Item Endpoint\nThe `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`.\n\n```\nPOST /api/v2/shop/orders/{tokenValue}/items\n```\n\nOther 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.\n\nAn 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:\n\n- Customer email address\n- Cart contents (products, quantities, prices)\n- Address data (billing and shipping if set)\n- Payment and shipment IDs\n- Order totals and tax breakdown\n- Checkout state", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31821", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31821", "reference_id": "CVE-2026-31821", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31821" }, { "reference_url": "https://github.com/advisories/GHSA-wjmg-4cq5-m8hg", "reference_id": "GHSA-wjmg-4cq5-m8hg", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-wjmg-4cq5-m8hg" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-wjmg-4cq5-m8hg", "reference_id": "GHSA-wjmg-4cq5-m8hg", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50858?format=api", "vulnerability_id": "VCID-t3xh-2paj-hbg4", "summary": "Sylius has a DQL Injection via API Order Filters\nSylius API filters `ProductPriceOrderFilter` and `TranslationOrderNameAndLocaleFilter` pass user-supplied order direction values directly to Doctrine's `orderBy()` without validation. An attacker can inject arbitrary DQL:\n\n```\nGET /api/v2/shop/products?order[price]=ASC,%20variant.code%20DESC\n```", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-31825", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "reference_url": "https://github.com/Sylius/Sylius", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Sylius/Sylius" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31825", "reference_id": "CVE-2026-31825", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31825" }, { "reference_url": "https://github.com/advisories/GHSA-xcwx-r2gw-w93m", "reference_id": "GHSA-xcwx-r2gw-w93m", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-xcwx-r2gw-w93m" }, { "reference_url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-xcwx-r2gw-w93m", "reference_id": "GHSA-xcwx-r2gw-w93m", "reference_type": "", "scores": [ { "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" }, { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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": [ { "url": "http://public2.vulnerablecode.io/api/packages/74690?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74691?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/74692?format=api", "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" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/sylius/sylius@2.0.6" }