Atomic Edge analysis of CVE-2026-4131 (metadata-based):
This vulnerability combines Cross-Site Request Forgery (CSRF) with Stored Cross-Site Scripting (XSS) in the WP Responsive Popup + Optin plugin, versions 1.4 and earlier. The plugin’s settings page fails to implement WordPress nonce security, allowing an attacker to forge a request that changes plugin settings. The attacker specifically targets the ‘wpo_image_url’ parameter to inject malicious JavaScript that persists in the plugin’s configuration.
Root Cause: The plugin’s admin settings form in wpo_admin_page.php lacks wp_nonce_field() generation and wp_verify_nonce()/check_admin_referer() verification. This is a classic CSRF omission. The attacker can therefore craft a request that modifies any plugin setting, including ‘wpo_image_url’, without the victim administrator’s consent. The admin having legitimate edit access then loads the settings page, which renders the attacker-controlled image URL in an HTML context without proper escaping, causing stored XSS. Since no patched version exists, this inference comes entirely from the CWE classification (352: CSRF) and the description. Atomic Edge research cannot confirm details like the exact rendering context or the presence of alternative security checks without source code.
Exploitation: The attack targets the plugin’s settings submission endpoint, likely /wp-admin/options-general.php?page=wp-responsive-popup-optin (or a similar admin page). The attacker crafts a malicious HTML form or an image tag with an onclick event that submits a POST request to the same admin page. The request includes the ‘wpo_image_url’ parameter containing a JavaScript payload, such as: wpo_image_url=https://attacker.com/exploit.png” onerror=”alert(1)” or a more subtle JavaScript URI. The victim administrator must be logged into WordPress. The attacker tricks the administrator into clicking a link or visiting a page with the forged form. Once the administrator submits the form (unwittingly via CSRF), the settings are updated. The next time the admin views the plugin’s settings page, the stored payload executes in their browser session.
Remediation: The fix requires adding WordPress CSRF protection to the settings form. The plugin developer must add wp_nonce_field(‘wpo_settings_nonce’) to the form in wpo_admin_page.php. Then, on form submission, they must verify the nonce with check_admin_referer(‘wpo_settings_nonce’) or wp_verify_nonce($_REQUEST[‘_wpnonce’], ‘wpo_settings_nonce’). Additionally, the plugin should validate and sanitize the ‘wpo_image_url’ input using esc_url_raw() or similar, and escape output with esc_url() when rendering. Since no patched version exists, users should uninstall the plugin or remove its code entirely.
Impact: An unauthenticated attacker can force a site administrator to unknowingly update plugin settings. The stored XSS via the ‘wpo_image_url’ parameter allows the attacker to execute arbitrary JavaScript in the admin’s browser. This can lead to privilege escalation (creating new admin accounts), sensitive data theft (session cookies, database information), complete site compromise through malicious plugin/theme installation, or defacement. The CVSS score of 6.1 reflects the need for user interaction (the admin clicking) but the low complexity and network access make this a serious issue.







