WP Optin Wheel <= 1.5.3 - Authenticated (Author+) Stored Cross-Site Scripting via 'custom_fields[options]' Parameter (XML-RPC wp.newPost
- State
- Published
- Severity
- 6.4 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 16, 2026
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[].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.
| Product | Versions |
|---|---|
| WP Optin Wheel – Gamified Optin Email Marketing Tool for WordPress and WooCommerce maartenbelmans | 1.5.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c71171f3-fc03-45bc-b78b-c41e36059bd4?source=cve
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/admin/views/all_wheels.php#L16
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/services/class-wheel-service.php#L114
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/services/class-wheel-service.php#L229
- https://plugins.trac.wordpress.org/browser/wp-optin-wheel/tags/1.5.3/code/controllers/class-admin-controller.php#L142
- 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/admin/views/all_wheels.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.