{
 "id": "WPSEC-2026-0513",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0513/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0513/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0513/index.md",
 "title": "Robo Gallery <= 5.1.6 - Missing Authorization to Authenticated (Contributor+) Arbitrary Post Reparenting and Reordering via Gallery Hierarchy Save",
 "description": "The Robo Gallery plugin for WordPress is vulnerable to unauthorized modification of data in all versions up to, and including, 5.1.6 due to a missing per-post capability check and post type validation in the AJAX handler that saves the gallery hierarchy. The handler accepted a client-supplied tree and called wp_update_post on every ID with only a generic edit_posts check. This makes it possible for authenticated attackers, with contributor-level access and above, to change the parent and menu order of arbitrary posts on the site, including posts they are not permitted to edit.",
 "plugin": {
  "slug": "robo-gallery",
  "name": "Robo Gallery",
  "full_name": "Robo Gallery – Photo & Image Slider",
  "wordpress_org": "https://wordpress.org/plugins/robo-gallery/",
  "advisories_url": "https://wpsec.com/vuln/plugin/robo-gallery/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/robo-gallery"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.9.0",
    "from_inclusive": true,
    "to": "5.2.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.9.0 before 5.2.6"
  ]
 },
 "introduced_in": "1.9.0",
 "fixed_in": "5.2.6",
 "remediation": "Update to 5.2.6 or later.",
 "fix_released": "2026-10-06T10:54:34+00:00",
 "published": "2026-10-07T11:46:41+00:00",
 "updated": "2026-10-06T16:17:07.959279+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0513/",
  "https://plugins.svn.wordpress.org/robo-gallery/tags/5.2.6/",
  "https://wordpress.org/plugins/robo-gallery/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/robo-gallery",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-07"
 }
}