Skip to content
Blog

WordPress · Nexter Blocks Pro · Restrictions for BuddyPress

WordPress: Nexter Blocks Pro and Restrictions for BuddyPress, Unauthenticated Admin Takeover and RCE — CVE-2026-125294 and CVE-2026-120539

CVE-2026-125294 in Nexter Blocks Pro (register as administrator) and CVE-2026-120539 in Restrictions for BuddyPress (PHP eval): two unauthenticated 9.8s.

4 min readCVE-2026-125294CVE-2026-120539

On November 21, 2026, NVD published two critical CVEs in WordPress plugins. Wordfence rates both 9.8, and neither requires an account on the site.

They are worth a closer look because of how they work: the first slips past a denylist thanks to the database collation, the second hands the request URL to eval().

PluginCVECVSS 3.1Flaw classNVD bounds
Nexter Blocks ProCVE-2026-1252949.8Privilege escalation (CWE-269)up to and including 5.0.10
Restrictions for BuddyPressCVE-2026-1205399.8Code injection via eval (CWE-95)up to and including 1.5.4

Scores come from Wordfence (CNA), vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H for both. NVD has marked these entries Deferred: no analysis and no CPE configuration on its side. Neither is in CISA KEV at the time of writing.


Nexter Blocks Pro — CVE-2026-125294

Nexter Blocks Pro ships a login and registration block (tp-login-register). During sign-up, the tpgb_ajax_register_user() function accepts custom fields through the tpgb_acf_key[] and tpgb_acf[] parameters and writes them as user meta.

The plugin knows it must not let anyone write the wp_capabilities key, which holds the WordPress role. So it blocks it with a byte-level denylist. According to NVD, here is what goes wrong:

  • the attacker submits a key dressed up with Unicode look-alikes, such as ẇp_çapabilities (U+1E87 and U+00E7);
  • its UTF-8 bytes match none of the ASCII patterns, so the denylist lets it through;
  • the database, with its default accent-insensitive collation (utf8mb4_unicode_ci or utf8mb4_0900_ai_ci), treats that key as equal to wp_capabilities;
  • update_user_meta() therefore overwrites the new account's role with administrator.

The nonce the handler requires is printed on any page containing the block, and the plugin logs the new account in automatically (autologin). The whole chain is one page view and one POST request.

Precondition: user registration must be enabled and the block present on a page. Impact: an administrator account for the attacker, which means installing plugins, editing files and running code.

The lesson goes beyond WordPress: a check done in one layer (PHP, on bytes) and a comparison done in another (MySQL, with a collation) don't speak the same language. A strict allowlist of accepted keys would have avoided the whole problem.


Restrictions for BuddyPress — CVE-2026-120539

This plugin restricts access to parts of a BuddyPress site based on conditions. According to NVD, it splices the request URI, which the attacker controls, into a PHP expression inside a double-quoted string, then evaluates it with eval().

PHP interpolates double-quoted strings. A payload of the form {${...}} in the URL path is therefore executed during interpolation: no quote breakout needed, and WordPress' automatic slashing does nothing to stop it.

  • No configuration required: the relevant conditions are enabled by default and evaluated before any logged-in check.
  • A single GET request is enough to run code on the server.
  • Precondition: BuddyPress and Paid Memberships Pro must be active alongside the plugin.

NVD's references point to a 1.5.5 release on the vendor's GitHub repository. NVD doesn't explicitly call it the fix, so check the changelog before treating it as safe.

For other BuddyPress-ecosystem plugins hit this month, see our November 3 roundup.


Detection

  • Nexter Blocks Pro: recently created administrator accounts, especially through public registration; keys in wp_usermeta with accented characters resembling wp_capabilities; POST requests to admin-ajax.php carrying the plugin's registration action.
  • Restrictions for BuddyPress: URL paths in access logs containing {$ or its encoded form (%7B%24); recent PHP files under wp-content/; processes spawned by the web server user.
  • Both: newly installed plugins, theme file changes, unknown WordPress scheduled tasks.

Mitigation

  1. Find affected sites: wp plugin list on every instance.
  2. Nexter Blocks Pro: update past 5.0.10 once the vendor confirms a fixed release; in the meantime, disable public registration (Settings → General) or remove the login/registration block.
  3. Restrictions for BuddyPress: update past 1.5.4 or deactivate the plugin. A WAF rule blocking {$ in URL paths reduces exposure but does not replace the update.
  4. If you suspect compromise: audit administrator accounts, rotate passwords and the wp-config.php keys, and compare files against a clean backup.

Why continuous monitoring matters for your WordPress plugins

Two unauthenticated 9.8s on the same day, in plugins that are hardly obscure. Across a fleet of sites, the only useful question is "which of my sites runs which of these plugins, at which version".

With cveo.tech, track your WordPress plugins and their versions, and get an alert as soon as a critical CVE affects them.

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.

Every Monday

The week's critical CVEs, in your inbox

One email a week: the CVSS ≥ 9 vulnerabilities published in the last seven days, plus our latest analyses. Nothing else.

Double opt-in by email. Unsubscribe in one click, any time.