craftcms/commerce
Affected
- introduced
5.0.0, fixed5.6.0(ecosystem)
Fixed versions
5.6.0
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-32270
Craft Commerce has an unauthenticated information disclosure that can leak some customer order data on anonymous payments
Summary
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.
Details
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?
Impact
Type: Information Disclosure / Broken Access Control
Who is impacted:
Low Basis: The source's own band: LOW
5.0.0, fixed 5.6.0 (ecosystem)5.6.0
The export has no generic command for this ecosystem.
4.0.0, fixed 4.11.0 (ecosystem)4.11.0
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0