CVE-2026-130045 in WP Optin Wheel Plugin
Summary
by MITRE • 11/26/2026
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.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in WP Optin Wheel versions up to 1.5.3 represents a significant security flaw within WordPress and WooCommerce environments that allows for Stored Cross-Site Scripting attacks. This issue stems from insufficient input sanitization and output escaping mechanisms when handling the custom_fields[].value parameter, specifically through the XML-RPC wp.newPost endpoint which interacts with post meta data labeled as options containing JSON-encoded theme configurations. The core technical failure lies in how the plugin processes incoming POST requests via the WordPress REST API or XML-RPC interface without adequately validating or sanitizing user-supplied input before storing it within the database and subsequently rendering it on frontend pages. Because the custom post type associated with this functionality inherits default capabilities from standard posts, any authenticated user possessing author-level access or higher can exploit this weakness to inject malicious JavaScript payloads directly into stored content structures that are later displayed to other users visiting those specific pages.
From a technical perspective, the exploitation vector is particularly concerning because it bypasses existing security controls such as Admin_Controller::sanitize_options(). This function typically serves as a gatekeeper for administrative settings but does not apply to standard post meta operations due to inheritance of default WordPress capabilities. Consequently, an attacker with author privileges can utilize the wp.newPost XML-RPC method to submit crafted requests containing malicious scripts embedded within theme configuration values. When these pages are accessed by legitimate users or administrators viewing opt-in forms generated by this plugin, the injected JavaScript executes in their browser context under the trust relationship established with the vulnerable site domain. This execution environment enables session hijacking, credential theft, defacement of web content, and potentially further lateral movement within the network if combined with other vulnerabilities like cross-site request forgery or local file inclusion attempts facilitated by script injection capabilities.
The operational impact of this vulnerability extends beyond immediate client-side compromise to include broader implications for data integrity and user trust across WordPress installations utilizing WP Optin Wheel. Organizations relying on gamified email marketing tools face risks including loss of customer confidence, potential regulatory non-compliance with standards such as GDPR or CCPA due unauthorized collection or exposure of personal information through injected scripts, and increased attack surface area where malicious actors can leverage stored XSS to propagate malware via phishing pages disguised within legitimate opt-in flows. Additionally, since the payload persists in the database until manually removed by an administrator, remediation requires not only patching but also active cleanup efforts involving identification and deletion of all compromised posts containing injected scripts across potentially thousands of entries depending on site traffic volume over time periods prior to discovery.
Industry-standard classifications align this vulnerability with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting, specifically highlighting the stored variant where malicious content remains active until explicitly purged from storage systems rather than being transiently reflected in HTTP responses alone. Furthermore, ATT&CK framework mappings indicate alignment with techniques involving T1059 Command and Scripting Interpretation through JavaScript execution within browser contexts alongside potential use of T1189 Drive-by Compromise if combined with exploit kits targeting outdated plugins or themes present on same domains hosting vulnerable implementations requiring ongoing maintenance vigilance against emerging threats leveraging similar architectural weaknesses in CMS ecosystems lacking robust input validation layers at multiple processing stages including API endpoints database writes template rendering pipelines ensuring defense-in-depth principles remain enforced consistently throughout application lifecycle management processes supporting modern web development practices prioritizing secure coding standards preventing unauthorized code execution scenarios arising from poorly validated user inputs processed without adequate safeguards against injection attacks exploiting trust relationships between servers clients browsers maintaining integrity confidentiality availability aspects critical infrastructure components dependent upon reliable functioning free from compromise incidents impacting business continuity objectives achieved through proactive monitoring updates patching strategies addressing known vulnerabilities promptly minimizing exposure windows available to adversaries seeking access privileges escalation privilege abuse opportunities within compromised environments requiring immediate attention remediation actions taken accordingly restore operational security posture effectively safeguarding assets against future exploitation attempts exploiting similar flaws elsewhere across ecosystem components interconnected forming complex digital landscapes demanding continuous vigilance adaptation evolving threat landscape characteristics necessitating adaptive defensive measures tailored specifically addressing unique challenges posed by each individual implementation variant deployed widely throughout internet infrastructure worldwide today.