WP Optin Wheel <= 1.5.3 - Authenticated (Author+) Stored Cross-Site Scripting via 'custom_fields[options]' Parameter (XML-RPC wp.newPost
The WP Optin Wheel – Gamified Optin Email Marketing Tool for WordPress and WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_fields[].value (XML-RPC wp.newPost -> post meta 'options' -> JSON->theme)' parameter in all versions up to, and including, 1.5.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is stored via the XML-RPC wp.newPost endpoint, which bypasses Admin_Controller::sanitize_options() entirely because the CPT inherits default 'post' capabilities, making any Author-level account sufficient to write the malicious 'theme' value.