Intel

AIKIDO-2026-356443

sylius/sylius is vulnerable to Improper Authorization

Improper AuthorizationGHSA-2rv4-pjmm-7fxf Published Yesterday

65

Medium Risk

This Affects:

PHPsylius/sylius
2.0.0 - 2.1.15
Fixed in 2.1.16
2.2.0 - 2.2.8
Fixed in 2.2.9
Are you affected? Scan for Free

TL;DR

The Shop API endpoint that submits Payment Request actions accepts any action value the caller supplies and passes it to the configured gateway. A shop customer who owns an order can request privileged gateway operations such as refund, cancel, or payout that should never be reachable from the shop context. On gateways that expose these actions this lets a customer trigger a refund while the order stays marked paid. The fix validates the requested action against an allowlist of capture, authorize, status, and notify.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the Shop API with a payment gateway that exposes refund, cancel, or payout actions.

Background info

sylius/sylius is vulnerable to Improper Authorization in versions 2.0.0 - 2.1.15 and 2.2.0 - 2.2.8.

How to fix this

Upgrade the sylius/sylius library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform