sylius/paypal-plugin is vulnerable to Server-Side Request Forgery (SSRF)
100
CVE Score
Critical
Server-Side Request Forgery (SSRF)
The PayPal refund webhook endpoint in the plugin does not verify that incoming requests genuinely originate from PayPal. It reads a resource URL directly from the unauthenticated request body and fetches it while attaching the merchant's PayPal OAuth access token as a bearer credential, so a request pointed at a caller-controlled server leaks the token and turns the server into an authenticated request proxy. The same forged response also drives a payment state change, letting an unverified webhook mark a local payment as refunded and issue a real PayPal refund using the merchant's credentials. The fix verifies the PayPal webhook signature and required transmission headers before processing and rejects unverified requests.
Upgrade the sylius/paypal-plugin library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your store has the PayPal refund webhook endpoint in use.
1.0.0 - 1.7.8
Fixed in 1.7.92.0.0 - 2.0.10
Fixed in 2.0.11sylius/paypal-plugin is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.0 - 1.7.8 and 2.0.0 - 2.0.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.