GHSA-MR9R-H354-966R
Vulnerability from github – Published: 2026-07-09 21:03 – Updated: 2026-07-09 21:03Impact
The GET /api/v2/shop/payment-requests/{hash} and PUT /api/v2/shop/payment-requests/{hash} endpoints look up the payment request solely by the hash from the URL. No ownership check is performed against the authenticated customer or the underlying order.
An attacker who obtains a payment request hash can:
- read the payment request and, through the
paymentIRI in the response, recover the underlying order'stokenValue(which itself grants access to the full order, items, addresses, customer email, totals); - update the payment request payload (e.g.
target_path,after_path). These fields are used by the front-end controller to redirect the user after the payment, so an attacker can flip them to an attacker-controlled URL and intercept the buyer.
The hash is a UUID, so it has to be obtained out-of-band (logs, shared links, referrer headers, a co-located client), but once it is known no other credential is required, neither authentication nor knowledge of the order token.
The creation endpoint POST /api/v2/shop/orders/{tokenValue}/payment-requests shares the same flaw: it resolves the target order solely from the tokenValue in the URL without verifying that the caller owns the order.
Patches
The issue is fixed in versions: 2.0.18, 2.1.15, 2.2.6.
Workarounds
Until you can upgrade, apply the following workaround. It enforces ownership on the existing endpoints, so that:
- an authenticated shop user may only access payment requests of their own orders;
- an anonymous caller may only access payment requests of guest orders (the order's customer has no associated user account);
- everyone else receives
404 Not Found.
Step 1. Add a query extension that filters the GET operation
Create file src/ApiPlatform/QueryExtension/PaymentRequestOwnershipExtension.php:
<?php
declare(strict_types=1);
namespace App\ApiPlatform\QueryExtension;
use ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface;
use ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface;
use ApiPlatform\Metadata\Operation;
use Doctrine\ORM\QueryBuilder;
use Sylius\Bundle\ApiBundle\Context\UserContextInterface;
use Sylius\Bundle\ApiBundle\SectionResolver\ShopApiSection;
use Sylius\Bundle\CoreBundle\SectionResolver\SectionProviderInterface;
use Sylius\Component\Core\Model\ShopUserInterface;
use Sylius\Component\Payment\Model\PaymentRequestInterface;
final readonly class PaymentRequestOwnershipExtension implements QueryItemExtensionInterface
{
public function __construct(
private SectionProviderInterface $sectionProvider,
private UserContextInterface $userContext,
) {
}
public function applyToItem(
QueryBuilder $queryBuilder,
QueryNameGeneratorInterface $queryNameGenerator,
string $resourceClass,
array $identifiers,
?Operation $operation = null,
array $context = [],
): void {
if (!is_a($resourceClass, PaymentRequestInterface::class, true)) {
return;
}
if (!$this->sectionProvider->getSection() instanceof ShopApiSection) {
return;
}
$rootAlias = $queryBuilder->getRootAliases()[0];
$paymentJoin = $queryNameGenerator->generateJoinAlias('payment');
$orderJoin = $queryNameGenerator->generateJoinAlias('order');
$customerJoin = $queryNameGenerator->generateJoinAlias('customer');
$userJoin = $queryNameGenerator->generateJoinAlias('user');
$createdByGuestParameterName = $queryNameGenerator->generateParameterName('createdByGuest');
$queryBuilder
->innerJoin(sprintf('%s.payment', $rootAlias), $paymentJoin)
->innerJoin(sprintf('%s.order', $paymentJoin), $orderJoin)
->leftJoin(sprintf('%s.customer', $orderJoin), $customerJoin)
->leftJoin(sprintf('%s.user', $customerJoin), $userJoin)
;
$user = $this->userContext->getUser();
if ($user instanceof ShopUserInterface) {
$customerParam = $queryNameGenerator->generateParameterName('customer');
$queryBuilder
->andWhere($queryBuilder->expr()->eq(sprintf('%s.customer', $orderJoin), sprintf(':%s', $customerParam)))
->setParameter($customerParam, $user->getCustomer())
;
return;
}
$queryBuilder
->andWhere(
$queryBuilder->expr()->orX(
$queryBuilder->expr()->isNull($userJoin),
$queryBuilder->expr()->isNull(sprintf('%s.customer', $orderJoin)),
$queryBuilder->expr()->andX(
$queryBuilder->expr()->isNotNull($userJoin),
$queryBuilder->expr()->eq(sprintf('%s.createdByGuest', $orderJoin), sprintf(':%s', $createdByGuestParameterName)),
),
),
)
->setParameter($createdByGuestParameterName, true)
;
}
}
Step 2. Decorate the PUT state provider
Create file src/ApiPlatform/StateProvider/PaymentRequestOwnershipProvider.php:
<?php
declare(strict_types=1);
namespace App\ApiPlatform\StateProvider;
use ApiPlatform\Metadata\Operation;
use ApiPlatform\State\ProviderInterface;
use Sylius\Bundle\ApiBundle\Context\UserContextInterface;
use Sylius\Component\Core\Model\CustomerInterface;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Core\Model\PaymentInterface;
use Sylius\Component\Core\Model\ShopUserInterface;
use Sylius\Component\Payment\Model\PaymentRequestInterface;
/** @implements ProviderInterface<PaymentRequestInterface> */
final readonly class PaymentRequestOwnershipProvider implements ProviderInterface
{
/** @param ProviderInterface<PaymentRequestInterface> $inner */
public function __construct(
private ProviderInterface $inner,
private UserContextInterface $userContext,
) {
}
public function provide(Operation $operation, array $uriVariables = [], array $context = []): array|object|null
{
$paymentRequest = $this->inner->provide($operation, $uriVariables, $context);
if (!$paymentRequest instanceof PaymentRequestInterface) {
return $paymentRequest;
}
if (!$this->isAccessible($paymentRequest)) {
return null;
}
return $paymentRequest;
}
private function isAccessible(PaymentRequestInterface $paymentRequest): bool
{
$payment = $paymentRequest->getPayment();
if (!$payment instanceof PaymentInterface) {
return false;
}
$order = $payment->getOrder();
if (!$order instanceof OrderInterface) {
return false;
}
$user = $this->userContext->getUser();
if ($user instanceof ShopUserInterface) {
$customer = $user->getCustomer();
return $customer instanceof CustomerInterface && $order->getCustomer() === $customer;
}
$customer = $order->getCustomer();
return null === $customer
|| null === $customer->getUser()
|| $order->isCreatedByGuest();
}
}
Step 3. Guard the POST creation endpoint with a command-bus middleware
The POST /api/v2/shop/orders/{tokenValue}/payment-requests operation is a messenger: input operation: it dispatches a Sylius\Bundle\ApiBundle\Command\Payment\AddPaymentRequest command whose orderTokenValue comes straight from the URL, so no query extension or state provider runs. Add a middleware on the Sylius command bus that loads the order, applies the same ownership rule, and aborts with 404 before the handler runs.
Create file src/Messenger/Middleware/PaymentRequestOwnershipMiddleware.php:
<?php
declare(strict_types=1);
namespace App\Messenger\Middleware;
use Sylius\Bundle\ApiBundle\Command\Payment\AddPaymentRequest;
use Sylius\Bundle\ApiBundle\Context\UserContextInterface;
use Sylius\Component\Core\Model\CustomerInterface;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Core\Model\ShopUserInterface;
use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Symfony\Component\Messenger\Envelope;
use Symfony\Component\Messenger\Middleware\MiddlewareInterface;
use Symfony\Component\Messenger\Middleware\StackInterface;
final readonly class PaymentRequestOwnershipMiddleware implements MiddlewareInterface
{
/** @param OrderRepositoryInterface<OrderInterface> $orderRepository */
public function __construct(
private OrderRepositoryInterface $orderRepository,
private UserContextInterface $userContext,
) {
}
public function handle(Envelope $envelope, StackInterface $stack): Envelope
{
$command = $envelope->getMessage();
if ($command instanceof AddPaymentRequest && !$this->isOrderAccessible($command->orderTokenValue)) {
throw new NotFoundHttpException('Not Found');
}
return $stack->next()->handle($envelope, $stack);
}
private function isOrderAccessible(string $orderTokenValue): bool
{
/** @var OrderInterface|null $order */
$order = $this->orderRepository->findOneByTokenValue($orderTokenValue);
if (null === $order) {
// Unknown token — let the handler return its own 404 (PaymentNotFoundException).
return true;
}
$user = $this->userContext->getUser();
if ($user instanceof ShopUserInterface) {
$customer = $user->getCustomer();
return $customer instanceof CustomerInterface && $order->getCustomer() === $customer;
}
$customer = $order->getCustomer();
return null === $customer
|| null === $customer->getUser()
|| $order->isCreatedByGuest();
}
}
Step 4. Wire the services
Append to config/services.yaml:
services:
App\ApiPlatform\QueryExtension\PaymentRequestOwnershipExtension:
arguments:
- '@sylius.section_resolver.uri_based'
- '@sylius_api.context.user.token_based'
tags:
- { name: api_platform.doctrine.orm.query_extension.item }
App\ApiPlatform\StateProvider\PaymentRequestOwnershipProvider:
decorates: sylius_api.state_provider.shop.payment.payment_request.item
arguments:
$inner: '@.inner'
$userContext: '@sylius_api.context.user.token_based'
App\Messenger\Middleware\PaymentRequestOwnershipMiddleware:
arguments:
- '@sylius.repository.order'
- '@sylius_api.context.user.token_based'
With the default Sylius-Standard services.yaml (autowire: true, autoconfigure: true) the two classes are already autoloaded, the block above only adds the tag and the decoration, which cannot be derived from the constructor signatures.
Step 5. Register the middleware on the Sylius command bus
Add to config/packages/messenger.yaml:
framework:
messenger:
buses:
sylius.command_bus:
middleware:
- 'App\Messenger\Middleware\PaymentRequestOwnershipMiddleware'
- 'validation'
- 'doctrine_transaction'
Step 6. Clear the cache
bin/console cache:clear
Reporters
We would like to extend our gratitude to the following individuals for their detailed reporting and responsible disclosure of this vulnerability: - Fase Rais Baradika (@baradika) - Anshu Chimala (@achimala)
For more information
If you have any questions or comments about this advisory:
- Open an issue in Sylius issues
- Email us at security@sylius.com
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "sylius/sylius"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.18"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "sylius/sylius"
},
"ranges": [
{
"events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.15"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "sylius/sylius"
},
"ranges": [
{
"events": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.6"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-53639"
],
"database_specific": {
"cwe_ids": [
"CWE-639"
],
"github_reviewed": true,
"github_reviewed_at": "2026-07-09T21:03:51Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "### Impact\nThe `GET /api/v2/shop/payment-requests/{hash}` and `PUT /api/v2/shop/payment-requests/{hash}` endpoints look up the payment request solely by the hash from the URL. No ownership check is performed against the authenticated customer or the underlying order.\n\nAn attacker who obtains a payment request hash can:\n\n- read the payment request and, through the `payment` IRI in the response, recover the underlying order\u0027s `tokenValue` (which itself grants access to the full order, items, addresses, customer email, totals);\n- update the payment request payload (e.g. `target_path`, `after_path`). These fields are used by the front-end controller to redirect the user after the payment, so an attacker can flip them to an attacker-controlled URL and intercept the buyer.\n\nThe hash is a UUID, so it has to be obtained out-of-band (logs, shared links, referrer headers, a co-located client), but once it is known no other credential is required, neither authentication nor knowledge of the order token.\n\nThe creation endpoint `POST /api/v2/shop/orders/{tokenValue}/payment-requests` shares the same flaw: it resolves the target order solely from the `tokenValue` in the URL without verifying that the caller owns the order.\n\n### Patches\nThe issue is fixed in versions: 2.0.18, 2.1.15, 2.2.6.\n\n### Workarounds\nUntil you can upgrade, apply the following workaround. It enforces ownership on the existing endpoints, so that:\n\n- an authenticated shop user may only access payment requests of their own orders;\n- an anonymous caller may only access payment requests of guest orders (the order\u0027s customer has no associated user account);\n- everyone else receives `404 Not Found`.\n\n#### Step 1. Add a query extension that filters the `GET` operation\n\nCreate file `src/ApiPlatform/QueryExtension/PaymentRequestOwnershipExtension.php`:\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nnamespace App\\ApiPlatform\\QueryExtension;\n\nuse ApiPlatform\\Doctrine\\Orm\\Extension\\QueryItemExtensionInterface;\nuse ApiPlatform\\Doctrine\\Orm\\Util\\QueryNameGeneratorInterface;\nuse ApiPlatform\\Metadata\\Operation;\nuse Doctrine\\ORM\\QueryBuilder;\nuse Sylius\\Bundle\\ApiBundle\\Context\\UserContextInterface;\nuse Sylius\\Bundle\\ApiBundle\\SectionResolver\\ShopApiSection;\nuse Sylius\\Bundle\\CoreBundle\\SectionResolver\\SectionProviderInterface;\nuse Sylius\\Component\\Core\\Model\\ShopUserInterface;\nuse Sylius\\Component\\Payment\\Model\\PaymentRequestInterface;\n\nfinal readonly class PaymentRequestOwnershipExtension implements QueryItemExtensionInterface\n{\n public function __construct(\n private SectionProviderInterface $sectionProvider,\n private UserContextInterface $userContext,\n ) {\n }\n\n public function applyToItem(\n QueryBuilder $queryBuilder,\n QueryNameGeneratorInterface $queryNameGenerator,\n string $resourceClass,\n array $identifiers,\n ?Operation $operation = null,\n array $context = [],\n ): void {\n if (!is_a($resourceClass, PaymentRequestInterface::class, true)) {\n return;\n }\n\n if (!$this-\u003esectionProvider-\u003egetSection() instanceof ShopApiSection) {\n return;\n }\n\n $rootAlias = $queryBuilder-\u003egetRootAliases()[0];\n $paymentJoin = $queryNameGenerator-\u003egenerateJoinAlias(\u0027payment\u0027);\n $orderJoin = $queryNameGenerator-\u003egenerateJoinAlias(\u0027order\u0027);\n $customerJoin = $queryNameGenerator-\u003egenerateJoinAlias(\u0027customer\u0027);\n $userJoin = $queryNameGenerator-\u003egenerateJoinAlias(\u0027user\u0027);\n $createdByGuestParameterName = $queryNameGenerator-\u003egenerateParameterName(\u0027createdByGuest\u0027);\n\n $queryBuilder\n -\u003einnerJoin(sprintf(\u0027%s.payment\u0027, $rootAlias), $paymentJoin)\n -\u003einnerJoin(sprintf(\u0027%s.order\u0027, $paymentJoin), $orderJoin)\n -\u003eleftJoin(sprintf(\u0027%s.customer\u0027, $orderJoin), $customerJoin)\n -\u003eleftJoin(sprintf(\u0027%s.user\u0027, $customerJoin), $userJoin)\n ;\n\n $user = $this-\u003euserContext-\u003egetUser();\n\n if ($user instanceof ShopUserInterface) {\n $customerParam = $queryNameGenerator-\u003egenerateParameterName(\u0027customer\u0027);\n\n $queryBuilder\n -\u003eandWhere($queryBuilder-\u003eexpr()-\u003eeq(sprintf(\u0027%s.customer\u0027, $orderJoin), sprintf(\u0027:%s\u0027, $customerParam)))\n -\u003esetParameter($customerParam, $user-\u003egetCustomer())\n ;\n\n return;\n }\n\n $queryBuilder\n -\u003eandWhere(\n $queryBuilder-\u003eexpr()-\u003eorX(\n $queryBuilder-\u003eexpr()-\u003eisNull($userJoin),\n $queryBuilder-\u003eexpr()-\u003eisNull(sprintf(\u0027%s.customer\u0027, $orderJoin)),\n $queryBuilder-\u003eexpr()-\u003eandX(\n $queryBuilder-\u003eexpr()-\u003eisNotNull($userJoin),\n $queryBuilder-\u003eexpr()-\u003eeq(sprintf(\u0027%s.createdByGuest\u0027, $orderJoin), sprintf(\u0027:%s\u0027, $createdByGuestParameterName)),\n ),\n ),\n )\n -\u003esetParameter($createdByGuestParameterName, true)\n ;\n }\n}\n```\n\n#### Step 2. Decorate the `PUT` state provider\n\nCreate file `src/ApiPlatform/StateProvider/PaymentRequestOwnershipProvider.php`:\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nnamespace App\\ApiPlatform\\StateProvider;\n\nuse ApiPlatform\\Metadata\\Operation;\nuse ApiPlatform\\State\\ProviderInterface;\nuse Sylius\\Bundle\\ApiBundle\\Context\\UserContextInterface;\nuse Sylius\\Component\\Core\\Model\\CustomerInterface;\nuse Sylius\\Component\\Core\\Model\\OrderInterface;\nuse Sylius\\Component\\Core\\Model\\PaymentInterface;\nuse Sylius\\Component\\Core\\Model\\ShopUserInterface;\nuse Sylius\\Component\\Payment\\Model\\PaymentRequestInterface;\n\n/** @implements ProviderInterface\u003cPaymentRequestInterface\u003e */\nfinal readonly class PaymentRequestOwnershipProvider implements ProviderInterface\n{\n /** @param ProviderInterface\u003cPaymentRequestInterface\u003e $inner */\n public function __construct(\n private ProviderInterface $inner,\n private UserContextInterface $userContext,\n ) {\n }\n\n public function provide(Operation $operation, array $uriVariables = [], array $context = []): array|object|null\n {\n $paymentRequest = $this-\u003einner-\u003eprovide($operation, $uriVariables, $context);\n if (!$paymentRequest instanceof PaymentRequestInterface) {\n return $paymentRequest;\n }\n\n if (!$this-\u003eisAccessible($paymentRequest)) {\n return null;\n }\n\n return $paymentRequest;\n }\n\n private function isAccessible(PaymentRequestInterface $paymentRequest): bool\n {\n $payment = $paymentRequest-\u003egetPayment();\n if (!$payment instanceof PaymentInterface) {\n return false;\n }\n\n $order = $payment-\u003egetOrder();\n if (!$order instanceof OrderInterface) {\n return false;\n }\n\n $user = $this-\u003euserContext-\u003egetUser();\n\n if ($user instanceof ShopUserInterface) {\n $customer = $user-\u003egetCustomer();\n\n return $customer instanceof CustomerInterface \u0026\u0026 $order-\u003egetCustomer() === $customer;\n }\n\n $customer = $order-\u003egetCustomer();\n\n return null === $customer\n || null === $customer-\u003egetUser()\n || $order-\u003eisCreatedByGuest();\n }\n}\n```\n\n#### Step 3. Guard the `POST` creation endpoint with a command-bus middleware\n\nThe `POST /api/v2/shop/orders/{tokenValue}/payment-requests` operation is a `messenger: input` operation: it dispatches a `Sylius\\Bundle\\ApiBundle\\Command\\Payment\\AddPaymentRequest` command whose `orderTokenValue` comes straight from the URL, so no query extension or state provider runs. Add a middleware on the Sylius command bus that loads the order, applies the same ownership rule, and aborts with `404` before the handler runs.\n\nCreate file `src/Messenger/Middleware/PaymentRequestOwnershipMiddleware.php`:\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Messenger\\Middleware;\n\nuse Sylius\\Bundle\\ApiBundle\\Command\\Payment\\AddPaymentRequest;\nuse Sylius\\Bundle\\ApiBundle\\Context\\UserContextInterface;\nuse Sylius\\Component\\Core\\Model\\CustomerInterface;\nuse Sylius\\Component\\Core\\Model\\OrderInterface;\nuse Sylius\\Component\\Core\\Model\\ShopUserInterface;\nuse Sylius\\Component\\Core\\Repository\\OrderRepositoryInterface;\nuse Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException;\nuse Symfony\\Component\\Messenger\\Envelope;\nuse Symfony\\Component\\Messenger\\Middleware\\MiddlewareInterface;\nuse Symfony\\Component\\Messenger\\Middleware\\StackInterface;\n\nfinal readonly class PaymentRequestOwnershipMiddleware implements MiddlewareInterface\n{\n /** @param OrderRepositoryInterface\u003cOrderInterface\u003e $orderRepository */\n public function __construct(\n private OrderRepositoryInterface $orderRepository,\n private UserContextInterface $userContext,\n ) {\n }\n\n public function handle(Envelope $envelope, StackInterface $stack): Envelope\n {\n $command = $envelope-\u003egetMessage();\n\n if ($command instanceof AddPaymentRequest \u0026\u0026 !$this-\u003eisOrderAccessible($command-\u003eorderTokenValue)) {\n throw new NotFoundHttpException(\u0027Not Found\u0027);\n }\n\n return $stack-\u003enext()-\u003ehandle($envelope, $stack);\n }\n\n private function isOrderAccessible(string $orderTokenValue): bool\n {\n /** @var OrderInterface|null $order */\n $order = $this-\u003eorderRepository-\u003efindOneByTokenValue($orderTokenValue);\n if (null === $order) {\n // Unknown token \u2014 let the handler return its own 404 (PaymentNotFoundException).\n return true;\n }\n\n $user = $this-\u003euserContext-\u003egetUser();\n\n if ($user instanceof ShopUserInterface) {\n $customer = $user-\u003egetCustomer();\n\n return $customer instanceof CustomerInterface \u0026\u0026 $order-\u003egetCustomer() === $customer;\n }\n\n $customer = $order-\u003egetCustomer();\n\n return null === $customer\n || null === $customer-\u003egetUser()\n || $order-\u003eisCreatedByGuest();\n }\n}\n```\n\n#### Step 4. Wire the services\n\nAppend to `config/services.yaml`:\n\n```yaml\nservices:\n App\\ApiPlatform\\QueryExtension\\PaymentRequestOwnershipExtension:\n arguments:\n - \u0027@sylius.section_resolver.uri_based\u0027\n - \u0027@sylius_api.context.user.token_based\u0027\n tags:\n - { name: api_platform.doctrine.orm.query_extension.item }\n\n App\\ApiPlatform\\StateProvider\\PaymentRequestOwnershipProvider:\n decorates: sylius_api.state_provider.shop.payment.payment_request.item\n arguments:\n $inner: \u0027@.inner\u0027\n $userContext: \u0027@sylius_api.context.user.token_based\u0027\n\n App\\Messenger\\Middleware\\PaymentRequestOwnershipMiddleware:\n arguments:\n - \u0027@sylius.repository.order\u0027\n - \u0027@sylius_api.context.user.token_based\u0027\n```\n\nWith the default Sylius-Standard `services.yaml` (`autowire: true`, `autoconfigure: true`) the two classes are already autoloaded, the block above only adds the tag and the decoration, which cannot be derived from the constructor signatures.\n\n#### Step 5. Register the middleware on the Sylius command bus\n\nAdd to `config/packages/messenger.yaml`:\n\n```yaml\nframework:\n messenger:\n buses:\n sylius.command_bus:\n middleware:\n - \u0027App\\Messenger\\Middleware\\PaymentRequestOwnershipMiddleware\u0027\n - \u0027validation\u0027\n - \u0027doctrine_transaction\u0027\n```\n\n#### Step 6. Clear the cache\n\n```bash\nbin/console cache:clear\n```\n\n### Reporters\n\nWe would like to extend our gratitude to the following individuals for their detailed reporting and responsible disclosure of this vulnerability:\n- Fase Rais Baradika (@baradika)\n- Anshu Chimala (@achimala)\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [Sylius issues](https://github.com/Sylius/Sylius/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen)\n- Email us at [security@sylius.com](mailto:security@sylius.com)",
"id": "GHSA-mr9r-h354-966r",
"modified": "2026-07-09T21:03:51Z",
"published": "2026-07-09T21:03:51Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-mr9r-h354-966r"
},
{
"type": "PACKAGE",
"url": "https://github.com/Sylius/Sylius"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "Sylius: IDOR on Shop Payment Request API endpoints"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.