BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2026-6566

MEDIUM 4.3 CVSS 3.1
Published
May 20, 2026
Last modified
July 24, 2026
NVD status
Deferred
Reported by
security@wordfence.com
Weakness
CWE-639
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

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

Affected WordPress components

  • Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Plugin · nextgen-gallery
    Confirmed match Active
    Up to and including 4.2.0
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery — Up to and including 4.2.0

References