Security mailing lists by PureSourceCode

CVE-2026-31821

MEDIUM 6.9CVSS 4.0

Sylius is Missing Authorization in API v2 Add Item Endpoint

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.

Published
10 Mar 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-862
Also known as
GHSA-wjmg-4cq5-m8hg
Sources
NVDJSONOSV GHSA-wjmg-4cq5-m8hgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.9 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sylius sylius
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.0.16 2.0.16
NVD sylius sylius
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
>= 2.1.0, < 2.1.12 2.1.12
NVD sylius sylius
cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*
>= 2.2.0, < 2.2.3 2.2.3
OSV Packagist sylius/sylius >= 2.0.0, < 2.0.16 2.0.16
OSV Packagist sylius/sylius >= 2.1.0, < 2.1.12 2.1.12
OSV Packagist sylius/sylius >= 2.2.0, < 2.2.3 2.2.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.