CyberRota Analysis
AI-GeneratedThe Flow Payment plugin for WordPress version 3.0.8 is susceptible to reflected cross-site scripting on the WooCommerce checkout page due to improper handling of the error_message GET parameter. This vulnerability allows unauthenticated attackers to execute arbitrary JavaScript in the context of a victim's browser session, potentially leading to data theft or session hijacking. WordPress site administrators using this plugin should prioritize patching or mitigating this vulnerability to protect their users.
Original NVD Description
The Flow Payment plugin for WordPress (flow.cl) version 3.0.8 is vulnerable to reflected cross-site scripting on the WooCommerce checkout page. When the plugin handles an order cancellation, the error_message GET parameter is passed directly to wc_add_notice() in flowpayment-fl.php (lines 57-58) without input sanitization (for example sanitize_text_field()) or output escaping (for example esc_html()) before being rendered in the checkout notice HTML. An unauthenticated attacker can craft a URL containing a JavaScript payload in the error_message parameter (for example /checkout/?add-to-cart={product-id}&cancel_order=true&error_message={payload}); when a victim with an active WooCommerce checkout session follows the link, the payload executes in the victim's browser in the origin of the WordPress site.