Vulnerabilities / Sunshine Photo Cart / WPSEC-2026-1476
Sunshine Photo Cart <= 3.7.5 - Unauthenticated Payment Bypass via Square Payment Method
High 7.5
CWE-345Fixed in 3.8
- ID
- WPSEC-2026-1476
- Plugin
- Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers (sunshine-photo-cart)
- Affected
- all versions before 3.8
- Remediation
- Update to 3.8 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weakness
- CWE-345
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-22
- Attack surface
- Sunshine Photo Cart on WPSec AttackSurface
- Fix released
- Published
Description
The Sunshine Photo Cart plugin for WordPress is vulnerable to Payment Bypass via the Square payment method in all versions up to, and including, 3.7.5, due to the checkout trusting the 'square_payment_id' value submitted by the browser without confirming with Square that the payment exists, was completed, and matches the order's amount, currency and reference. This makes it possible for unauthenticated attackers to have orders marked as paid without paying, or with a cheaper or unrelated Square payment.
References
- https://wpsec.com/vuln/WPSEC-2026-1476/
- https://plugins.svn.wordpress.org/sunshine-photo-cart/tags/3.8/
- https://wordpress.org/plugins/sunshine-photo-cart/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS