{
 "id": "WPSEC-2026-0959",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0959/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0959/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0959/index.md",
 "title": "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",
 "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.",
 "plugin": {
  "slug": "sunshine-photo-cart",
  "name": "Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers",
  "full_name": "Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers",
  "wordpress_org": "https://wordpress.org/plugins/sunshine-photo-cart/",
  "advisories_url": "https://wpsec.com/vuln/plugin/sunshine-photo-cart/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/sunshine-photo-cart"
 },
 "type": "AUTHBYPASS",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.7.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.7.5"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.7.5",
 "remediation": "Update to 3.7.5 or later.",
 "fix_released": "2026-10-13T17:01:58+00:00",
 "published": "2026-10-14T19:42:49+00:00",
 "updated": "2026-10-14T19:37:26.285688+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0959/",
  "https://plugins.svn.wordpress.org/sunshine-photo-cart/tags/3.7.5/",
  "https://wordpress.org/plugins/sunshine-photo-cart/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/sunshine-photo-cart",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-14"
 }
}