Insecure Direct Object Reference in MW WP Form Plugin for WordPress
CVE-2026-120746
What is CVE-2026-120746?
The MW WP Form plugin for WordPress has a vulnerability that allows unauthenticated attackers to exploit insecure direct object references. This occurs via the 'mw-wp-form_session_mw-wp-form-<FORM_ID>' parameter, which lacks proper validation on a user-controlled key. As a result, attackers can overwrite or delete arbitrary WordPress transients in wp_options, including core-managed transients such as wp_styles_for_blocks. This exploitation facilitates the injection of malicious CSS into front-end pages and enables the permanent anchoring of compromised transient values that do not expire. Furthermore, the plugin's CSRF protection is ineffective in preventing attack due to flawed execution order; thus, transient writes occur even after a supposed secure redirect.
Affected Version(s)
MW WP Form 0 <= 5.1.8