Cross-site request forgery in magento-lts - #VU158650
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to force cancellation of a customer's cancellable order through the PayPal Express cancellation handler.
The vulnerability exists due to missing cross-site request forgery protection in Mage_Paypal_Controller_Express_Abstract::cancelAction() and its Payflow Advanced and PayPal UK Express subclasses when handling cancellation requests based on the checkout session and a match between the order quote and session quote. A remote attacker can trick a customer with an active checkout session and a recent, uninvoiced, cancellable order into following a cross-site GET request to cancel the order, void any pending payment authorization, and restore its items to the cart.
Exploitation requires an Express token in the customer's session and an order already placed through a redirect flow.