Description
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[options] -> fields[].placeholder' 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 wof_lite_wheel custom post type inherits standard post capabilities due to an unset capability_type, meaning any Author-level user can publish a malicious wheel via XML-RPC in a single request, exposing every front-end page that renders the wheel to all visitors.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| maartenbelmans | WP Optin Wheel – Gamified Optin Email Marketing Tool for WordPress and WooCommerce | ≤ 1.5.3 | — |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/bfe6e17f-f1a2-4df6-871a-1afd553d9b18?source=cve
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/public/js/public.min.js#L2
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/services/class-wheel-service.php#L173
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/models/class-wheel-model.php#L82
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/views/wheel.php#L24
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/class-wheel-of-fortune.php#L155
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/
- https://plugins.trac.wordpress.org/changeset/3815170/wp-optin-wheel/trunk/public/js/public.min.js