{
 "id": "WPSEC-2026-4297",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4297/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4297/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4297/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4297.json",
 "title": "PublishPress Capabilities: User Role Access Control, Admin Area Permissions <= 2.54.0 - Authenticated (Editor+) Privilege Escalation via Backup Restore",
 "description": "The PublishPress Capabilities plugin for WordPress is vulnerable to Privilege Escalation via the Backup tool's restore function in all versions up to, and including, 2.54.0. This is due to the 'select_restore' value being passed to get_option() and written over the site's role definitions without checking that it names a real role backup, that its structure is valid, or that the restored roles do not change protected roles or capabilities the user does not hold. This makes it possible for authenticated non-administrator users who have been given backup access (e.g. editors) to replace the role definitions with the contents of an arbitrary option, for example plugin settings they can write through the import feature, and so grant themselves administrative capabilities or break the site's roles.",
 "plugin": {
  "slug": "capability-manager-enhanced",
  "name": "PublishPress Capabilities: User Role Access Control, Admin Area Permissions",
  "full_name": "PublishPress Capabilities: User Role Access Control, Admin Area Permissions",
  "wordpress_org": "https://wordpress.org/plugins/capability-manager-enhanced/",
  "advisories_url": "https://wpsec.com/vuln/plugin/capability-manager-enhanced/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/capability-manager-enhanced"
 },
 "type": "PRIV",
 "cwe": [
  "CWE-269"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.55.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.55.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.55.0",
 "remediation": "Update to 2.55.0 or later.",
 "fix_released": "2026-11-30T11:42:14+00:00",
 "published": "2026-12-01T11:45:43+00:00",
 "updated": "2026-12-01T10:54:29.956531+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4297/",
  "https://plugins.svn.wordpress.org/capability-manager-enhanced/tags/2.55.0/",
  "https://wordpress.org/plugins/capability-manager-enhanced/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/capability-manager-enhanced",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-01"
 }
}