<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-12T08:53:29.453559+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-275504</id>
    <title>EUVD-2026-275504</title>
    <updated>2026-10-12T08:53:29.499967+00:00</updated>
    <content>EUVD-2026-275504</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-275504"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-31821</id>
    <title>fkie_cve-2026-31821</title>
    <updated>2026-10-12T08:53:29.499999+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-31821"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-wjmg-4cq5-m8hg</id>
    <title>GHSA-wjmg-4cq5-m8hg — Sylius is Missing Authorization in API v2 Add Item Endpoint</title>
    <updated>2026-10-12T08:53:29.500033+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: sylius/sylius</p>
<p>### Impact
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`.</p>
<p>```
POST /api/v2/shop/orders/{tokenValue}/items
```</p>
<p>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.</p>
<p>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:</p>
<p>- 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</p>
<p>### Patches
The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3, and above.</p>
<p>### Workarounds
Add an ownership check in `AddItemToCartHandler` by injecting `UserContextInterface` and verifying the current user matches the cart owner before adding items.</p>
<p>#### Step 1. Patch the handler</p>
<p>Create new  `src/CommandHandler/Cart/AddItemToCartHandler.php`:</p>
<p>```php
&lt;?php</p>
<p>declare(strict_types=1);</p>
<p>namespace App\CommandHandler\Cart;</p>
<p>use Sylius\Bundle\ApiBundle\Command\Cart\AddItemToCart;
use Sylius\Bundle\ApiBundle\Context\UserContextInterface;
use Sylius\Component\Core\Factory\CartItemFactoryInterface;
use…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-wjmg-4cq5-m8hg"/>
  </entry>
</feed>
