{"id":"CVE-2026-6566","published":"2026-05-20T05:31:10Z","modified":"2026-05-20T15:54:05Z","title":"Photo Gallery, Sliders, Proofing and Themes <= 4.2.0 - Insecure Direct Object Reference to Authenticated (Subscriber+)…","vendor":"smub","product":"Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery","tier":"tail","description":{"text":"The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 4.2.0. This is due to insufficient object-level authorization in the image deletion REST flow where the permission callback for DELETE /imagely/v1/images/{id} only checks 'NextGEN Manage gallery' permissions and does not enforce gallery ownership or 'NextGEN Manage others gallery' permissions. This makes it possible for authenticated attackers, with Subscriber-level privileges and 'NextGEN Manage gallery' capability, to delete gallery images belonging to other users as well as their associated image files from disk when deleteImg is enabled (default).","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.1873,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/439809ad-21ea-4a0b-b1fd-5de9f8f5ee7a?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3533432/nextgen-gallery","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":3.75},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"smub","affectedVersions":[{"vendor":"smub","product":"Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery","versions":["<= 4.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-20T15:43:36.099126Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31063","exploited":false,"provenance":"source"}}