PS Summit! We’re organizing a major event
2 min. read
Categories: Security
PayPal: Security blog post – 1.7.9 & 2.0.11

Security isn’t something we treat as optional. Our team keeps a close eye on the Sylius ecosystem, takes every report from the community seriously, and turns fixes around as quickly as we responsibly can. In that spirit, today we’re shipping security fixes for PayPalPlugin versions 1.7 and 2.0. If your project relies on this package, please plan an upgrade soon, and pass the word along to others so the whole Sylius community stays protected.

PayPalPlugin 1.7 and above

CVE-?: Unauthenticated PayPal Refund Webhook Access Token Leak (SSRF)

The original security advisory has been published on GitHub
at the Sylius/PayPalPlugin repository.

Is my store affected by this vulnerability?

This issue exists in all PayPalPlugin versions before 1.7.9, and 2.0.11.

Description

The PayPal refund webhook endpoint did not verify that incoming requests actually originated from PayPal. Because the endpoint is intentionally public and the request payload was trusted, an unauthenticated attacker could send a crafted refund webhook whose body pointed to a server under their control. While processing it, the plugin attached the store’s PayPal access token as an Authorization: Bearer credential to an outbound request sent to that attacker-controlled URL, leaking the token and allowing server-side request forgery.

Impact

  • An unauthenticated attacker could obtain the store’s PayPal access token.
  • With that token, the attacker can act against the PayPal REST API on the merchant’s behalf (e.g. inspect transactions, issue or manipulate refunds) for as long as the token is valid.
  • The server could be induced to send authenticated requests to arbitrary attacker-chosen URLs (SSRF).

Patches

The issue is fixed in versions 1.7.9, 2.0.11, and above.

Workarounds

If an immediate upgrade is not possible, merchants should take the following actions to mitigate risk:

  • Disable PayPal: to prevent token exposure, merchants should immediately disable the PayPal payment method in their shops, or restrict the refund webhook endpoint (/paypal-webhook/api/) at the reverse proxy/firewall level so it is only reachable from PayPal’s published webhook source ranges.
  • Schedule an upgrade or a workaround implementation: merchants should coordinate with their development teams to upgrade to a patched version of the PayPalPlugin (1.7.9, or 2.0.11) as soon as possible, or to have the workaround described in the security advisory implemented.

Keeping your store secure is crucial, please update your plugin and inform your peers in the Sylius community about this fix to ensure a safer environment for all.

Share:
Kamil Grygierzec
Kamil started to be interested in programming in 2016, because of the local CoderDojo sessions. He always wanted to be front-end developer, but at the end felt more suitable in back-end. IT technician since childhood, huge IOT enthusiast, occasionally football player and madridista wholeheartedly.
More from our blog
Ecosystem News 2 min read 20.07.2026
THREE YEARSCOUNTLESS CONTRIBUTIONSONE INCREDIBLE COMMUNITY It’s been 3 years since the first Month of Sylius launched as we know it today – though it wasn’t our first attempt at a monthly recap: an earlier numbered summary series ran from #1 to #9 back in April 2018. Since then, the community… Read More
Technical 2 min read 04.12.2024
Here’s everything you had to know about the first major release since 2017! Over 7 years after the first major release, on Nov 12, 2024, we have released Sylius 2.0.0. We had a great opportunity to announce it first at SyliusCon in Lyon, but now, as we are back to… Read More
2 min read 22.11.2024
The emotions start to settle after SyliusCon, and it’s time to reflect on this incredible milestone in our journey. Why a milestone? Because SyliusCon exceeded our expectations in every possible way. We broke attendance records and brought together the key figures of our community, numerous partners, freelancers, and simply all… Read More
Comments