{"vuln_id":"CVE-2026-125085","aliases":[],"description":"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.","published_at":"2026-11-20T10:17:10.350000Z","modified_at":"2026-11-20T20:17:15.707000Z","first_seen_at":"2026-11-21T19:15:51.009883Z","severity":"high","severity_source":"nvd","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-269"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00665,"epss_percentile":0.52748,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-125085"},"matched_alias":null,"items":[{"id":9781,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-125085: The Nexter Extension – Security, Performance, Code Snippets & Site Toolkit plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and in…","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.\n\nReferences:\nhttps://plugins.trac.wordpress.org/browser/nexter-extension/tags/4.7.13/include/panel-settings/extensions/nexter-ext-view-admin-role.php#L268\nhttps://plugins.trac.wordpress.org/browser/nexter-extension/tags/4.7.13/include/panel-settings/extensions/nexter-ext-view-admin-role.php#L290\nhttps://plugins.trac.wordpress.org/browser/nexter-extension/tags/4.7.13/include/panel-settings/extensions/nexter-ext-view-admin-role.php#L323\nhttps://plugins.trac.wordpress.org/browser/nexter-extension/tags/4.7.13/include/panel-settings/extensions/nexter-ext-view-admin-role.php#L45\nhttps://plugins.trac.wordpress.org/changeset/3808630/nexter-extension/trunk/include/panel-settings/extensions/nexter-ext-view-admin-role.php\nhttps://www.wordfence.com/threat-intel/vulnerabilities/id/951f4776-338e-4f64-8828-30183514df74?source=cve","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125085","published_at":"2026-11-20T10:17:10.350000Z","updated_at":"2026-11-20T20:17:15.707000Z","fetched_at":"2026-11-21T19:15:31.485305Z","severity":"high","cvss_score":8.8,"epss":0.00665,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"wordpress","product":null,"vuln_id":"CVE-2026-125085","vuln_ids":["CVE-2026-125085"],"tags":["CWE-269"],"cluster_id":9762,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9781","html":"https://vulnwatch.ve1ve2.com/item/9781"}}]}