# Robo Gallery <= 5.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Search Label Setting

- **ID:** WPSEC-2026-0510
- **Plugin:** Robo Gallery – Photo & Image Slider (`robo-gallery`), https://wordpress.org/plugins/robo-gallery/
- **Affected versions:** from 2.6.5 before 5.2.6
- **Fixed in:** 5.2.6 (Update to 5.2.6 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **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-0510/

## Description

The Robo Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the gallery search label setting in versions up to, and including, 5.1.6 due to insufficient output escaping. The label is printed without escaping into the placeholder attribute of the gallery's search box. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts into their own galleries that will execute whenever a user accesses a page that displays the gallery.

## References

- https://wpsec.com/vuln/WPSEC-2026-0510/
- 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-0510/

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.
