{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4635",
 "modified": "2026-12-04T16:42:59Z",
 "published": "2026-12-04T16:42:59Z",
 "summary": "Gallery : FooGallery <= 3.3.37 - Authenticated (Contributor+) Sensitive Information Exposure via 'attachment_ids' Gallery Override",
 "details": "The FooGallery Photo Gallery plugin for WordPress is vulnerable to Sensitive Information Exposure via the 'attachment_ids' override in gallery shortcodes and blocks in all versions up to, and including, 3.3.37 due to the plugin rendering the supplied attachments without checking whether they are publicly viewable. This makes it possible for authenticated attackers, with contributor-level access and above, to expose private, draft or otherwise non-public media attachments and their details in a gallery on a page.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "foogallery"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "3.3.48"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 3.3.48"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4635/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/foogallery/tags/3.3.48/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/foogallery/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4635/",
  "cwe_ids": [
   "CWE-639"
  ],
  "vulnerability_type": "SENSITIVE DATA DISCLOSURE",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
