PaymentsController::actionPay discloses some order data to unauthenticated users when an order number is provided and the email check fails during an anonymous payment.
The JSON error response includes the serialized order object (order), which contains some sensitive fields such as customer email, shipping address, and billing address.
I manually audited frontend payment flows and found that actionPay() retrieves orders by number before authorization is fully enforced.
Code path:
number.number + matching email).cartArray($order), which serializes sensitive order data.Why is this a vulnerability?
Type: Information Disclosure / Broken Access Control
Who is impacted:
{
"cwe_ids": [
"CWE-200",
"CWE-862"
],
"github_reviewed": true,
"github_reviewed_at": "2026-04-14T01:01:17Z",
"nvd_published_at": "2026-04-13T20:16:33Z",
"severity": "LOW"
}