GitHub Advisoryadvisory · Packagist

GHSA-3vxg-x5f8-f5qf Craft Commerce has an unauthenticated information disclosure that can leak some customer order data on anonymous payments

LOW Published 2026-04-14 Modified 2026-04-14 Official page ↗
Aliases
CVE-2026-32270
Ecosystem
Packagist
Packages
craftcms/commerce
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Weaknesses
CWE-200, CWE-862
Reviewed
2026-04-14

Affected packages

• Packagist craftcms/commerce: >= 5.0.0, < 5.6.0 → fixed in 5.6.0 • Packagist craftcms/commerce: >= 4.0.0, < 4.11.0 → fixed in 4.11.0

Description

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: 1. Load order by `number`. 2. Evaluate whether payment is authorized for completed orders (`number + matching email`). 3. If unauthorized, return failure. 4. Failure response still includes `cartArray($order)`, which serializes sensitive order data. Why is this a vulnerability? • Authorization logic says the requester is not allowed to pay for a completed order without an email. • But the response still returns the same completed order’s contents. Impact Type: Information Disclosure / Broken Access Control Who is impacted: • Any Commerce deployment where completed order numbers can be obtained or leaked.

Related

Alias · CVE (1)

  • CVE-2026-32270 Craft Commerce is an ecommerce platform for Craft CMS. vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-862 Missing Authorization weakness

References