Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-125085
VULNERABILITY

CVE-2026-125085

Common Vulnerabilities and Exposures record

HIGH

Summary

The Nexter Extension – Security, Performance, Code Snippets & Site Toolkit plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 4.9.0 This is due to the role_switcher_to_view_admin_as() function handling the `reset-view` branch without a capability check or nonce when the caller's own login is supplied, combined with an incomplete cleanup hook (maybe_prevent_switchback_to_administrator) that exits early when the user's current roles equal the stored view role and that is never triggered when WordPress core's WP_User::set_role() short-circuits because the account already has only the target role. This makes it possible for authenticated attackers, with subscriber-level access and above, to elevate their privileges to Administrator.

Risk

CVSS
8.8
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Nov 20, 2026 10:17
Modified
Nov 20, 2026 20:17
Last observed
Nov 20, 2026 16:00

CWE

CWE-269

References