{
 "id": "WPSEC-2026-2440",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2440/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2440/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2440/index.md",
 "title": "Gallery : FooGallery <= 3.3.17 - Authenticated (Contributor+) Sensitive Information Exposure via Gallery Shortcode and Block",
 "description": "The FooGallery Photo Gallery plugin for WordPress is vulnerable to Sensitive Information Exposure via the foogallery shortcode, the gallery block and the block-renderer REST route in all versions up to, and including, 3.3.17. This is due to the gallery renderer loading a gallery by its ID without checking the gallery's post status. This makes it possible for authenticated attackers, with Contributor-level access and above, to embed or preview private and draft galleries they are not permitted to read and view their images and captions.",
 "plugin": {
  "slug": "foogallery",
  "name": "Gallery : FooGallery",
  "full_name": "FooGallery Photo Gallery : Image, Video & Masonry Galleries",
  "wordpress_org": "https://wordpress.org/plugins/foogallery/",
  "advisories_url": "https://wpsec.com/vuln/plugin/foogallery/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/foogallery"
 },
 "type": "SENSITIVE DATA DISCLOSURE",
 "cwe": [
  "CWE-200"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.3.26",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.3.26"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.3.26",
 "remediation": "Update to 3.3.26 or later.",
 "fix_released": "2026-11-03T01:44:31+00:00",
 "published": "2026-11-04T02:41:27+00:00",
 "updated": "2026-11-03T13:20:25.410292+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2440/",
  "https://plugins.svn.wordpress.org/foogallery/tags/3.3.26/",
  "https://wordpress.org/plugins/foogallery/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/foogallery",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-04"
 }
}