PublishPress Capabilities: User Role Access Control, Admin Area Permissions <= 2.54.0 - Authenticated (Editor+) Privilege Escalation via Backup Restore
- ID
- WPSEC-2026-4297
- Plugin
- PublishPress Capabilities: User Role Access Control, Admin Area Permissions (capability-manager-enhanced)
- Affected
- all versions before 2.55.0
- Remediation
- Update to 2.55.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-269
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
- Attack surface
- PublishPress Capabilities: User Role Access Control, Admin Area Permissions on WPSec AttackSurface
- Fix released
- Published
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.
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS