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:
- Load order by
number. - Evaluate whether payment is authorized for completed orders (
number + matching email). - If unauthorized, return failure.
- 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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | craftcms/commerce | >= 5.0.0, < 5.6.0, >= 4.0.0, < 4.11.0 | 5.6.0, 4.11.0 |
Verweise
- https://github.com/craftcms/commerce/security/advisories/GHSA-3vxg-x5f8-f5qf
- https://nvd.nist.gov/vuln/detail/CVE-2026-32270
- https://github.com/craftcms/commerce/commit/48a5d946419964e2af1ac64a8e1acc2a32ca0a08
- https://github.com/craftcms/commerce
- https://github.com/craftcms/commerce/releases/tag/4.11.0
- https://github.com/craftcms/commerce/releases/tag/5.6.0
- CVSS-Vektor
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- Schwäche (CWE)
CWE-200, CWE-862- Plattform
- Composer
- Paket
craftcms/commerce- Veröffentlicht
- 14.04.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-3vxg-x5f8-f5qf - CC BY 4.0
Schwachstellenhistorie: craftcms/commerce
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 21
- Erste → letzte
- 02.2026 06.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 5
- Mittel 13
- Niedrig 3
Veröffentlichungen pro Jahr
- 2026: 21
-
Craft Commerce has an unauthenticated information disclosure that can leak some customer order data on anonymous payments dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.