{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4295",
 "modified": "2026-12-01T11:45:43Z",
 "published": "2026-12-01T11:45:43Z",
 "summary": "PublishPress Capabilities: User Role Access Control, Admin Area Permissions <= 2.54.0 - Authenticated (Editor+) Privilege Escalation via Add Capability and Role Creation",
 "details": "The PublishPress Capabilities plugin for WordPress is vulnerable to Privilege Escalation via the 'Add Capability' form on the Capabilities screen and the role creation handler in all versions up to, and including, 2.54.0. This is due to createNewName() rejecting only names among the capabilities the current user already holds, and the add-capability handler adding the submitted capability to the selected role without checking that the user holds it. This makes it possible for authenticated non-administrator users who have been given capability management access (e.g. editors) to add capabilities they do not have, such as manage_options, to editable roles, or to create roles whose slug matches such a capability, and so escalate privileges for accounts in those roles.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "capability-manager-enhanced"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "2.55.0"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 2.55.0"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4295/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/capability-manager-enhanced/tags/2.55.0/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/capability-manager-enhanced/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4295/",
  "cwe_ids": [
   "CWE-269"
  ],
  "vulnerability_type": "PRIV",
  "severity": "High",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
