Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers <= 3.7.4 - Unauthenticated Insecure Direct Object Reference to Restricted Gallery Image Exposure via Share, Add to Cart, and Product Options AJAX Actions

Medium 5.3 CWE-639Fixed in 3.7.5
ID
WPSEC-2026-0959
Plugin
Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers (sunshine-photo-cart)
Affected
all versions before 3.7.5
Remediation
Update to 3.7.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-14
Attack surface
Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers on WPSec AttackSurface
Fix released
Published

Description

The Sunshine Photo Cart plugin for WordPress is vulnerable to Insecure Direct Object Reference via the share, add to cart, product details and store product modal AJAX handlers in all versions up to, and including, 3.7.4, due to missing gallery access checks on the user-supplied 'imageId', 'image_id', 'imageIds' and 'galleryId' values. Some of these handlers only checked whether the gallery was visible, not whether the visitor had unlocked it. This makes it possible for unauthenticated attackers to retrieve images, image names and image URLs from password-protected, email-gated, account-only or private galleries they are not authorized to access.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0