Photo Gallery, Sliders, Proofing and Themes <= 4.2.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Image Deletion via REST API

4.3
Authorization Bypass Through User-Controlled Key
CVE CVE-2026-6566
CVSS 4.3 (Medium)
Publicly Published May 19, 2026
Last Updated May 20, 2026
Researcher Bao Luu Gia Nguyen

Description

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).

References

Share

Vulnerability Details for Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

Software Type Plugin
Software Slug nextgen-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.2.1, or a newer patched version
Affected Version
  • <= 4.2.0
Patched Version
  • 4.2.1

Recent vulnerabilities in Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

# Title CVE ID CVSS Researchers Date
1 Photo Gallery, Sliders, Proofing and Themes <= 4.5.5 - Authenticated (Custom+) Arbitrary File Deletion via 'task_list' and 'app_config' Parameters CVE-2026-118191 8.1 Wordfence PRISM November 12, 2026
2 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.4.1 - Authenticated (Custom+) Remote Code Execution via XML-RPC 'meta_data' Mass Assignment and Path Traversal CVE-2026-76010 8.8 khanhnv October 30, 2026
3 Photo Gallery, Sliders, Proofing and Themes <= 4.5.4 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment `title` Attribute via Shutter Lightbox innerHTML CVE-2026-116563 5.4 UKO October 30, 2026
4 Photo Gallery, Sliders, Proofing and Themes <= 4.4.1 - Authenticated (Custom+) Local File Inclusion via Lightroom 'gallery_edit' Task property_list + Image Upload CVE-2026-76012 7.5 khanhnv October 30, 2026
5 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.5.0 - Unauthenticated Arbitrary File Read CVE-2026-94123 7.5 Intrudify September 24, 2026
6 NextGEN Gallery <= 4.4.0 - Authenticated (Admin+) Insecure Direct Object Reference CVE-2026-81654 4.3 Erwan LR September 18, 2026
7 NextGEN Gallery <= 4.4.0 - Authenticated (Contributor+) Insecure Direct Object Reference CVE-2026-81652 4.3 Meher Sudhakar Abbireddi September 18, 2026
8 NextGEN Gallery <= 4.4.0 - Authenticated (Admin+) Arbitrary File Upload CVE-2026-81650 7.2 Alihan Şahin September 18, 2026
9 NextGEN Gallery <= 4.4.0 - Authenticated (Admin+) Insecure Direct Object Reference CVE-2026-81653 2.7 Erwan LR September 18, 2026
10 NextGEN Gallery <= 4.4.0 - Authenticated (Admin+) Insecure Direct Object Reference CVE-2026-81651 2.7 Murad Akhmedov September 18, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation