# Robo Gallery <= 5.1.6 - Authenticated (Contributor+) Insecure Direct Object Reference to Gallery Cloning

- **ID:** WPSEC-2026-0512
- **Plugin:** Robo Gallery – Photo & Image Slider (`robo-gallery`), https://wordpress.org/plugins/robo-gallery/
- **Affected versions:** from 3.0.0 before 5.2.6
- **Fixed in:** 5.2.6 (Update to 5.2.6 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-07)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/robo-gallery
- **Fix released:** 2026-10-06
- **Published:** 2026-10-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0512/

## Description

The Robo Gallery plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.6 due to the gallery clone action relying on a shared nonce and only a generic edit_posts check, without verifying that the user can edit the source gallery. This makes it possible for authenticated attackers, with contributor-level access and above, to clone any gallery, including other users' private or password-protected galleries along with all of their settings and images, and to have the copy keep a published status.

## References

- https://wpsec.com/vuln/WPSEC-2026-0512/
- https://plugins.svn.wordpress.org/robo-gallery/tags/5.2.6/
- https://wordpress.org/plugins/robo-gallery/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0512/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
