Vulnerability Description
The MW WP Form plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.8 via the 'mw-wp-form_session_mw-wp-form-<FORM_ID>' parameter due to missing validation on a user controlled key. This makes it possible for unauthenticated attackers to overwrite or delete arbitrary WordPress transients in wp_options — including core-managed transients such as wp_styles_for_blocks — enabling injection of attacker-controlled CSS into every front-end page and permanent anchoring of poisoned transient values that never re-expire. The plugin's CSRF check does not prevent exploitation because MW_WP_Form_Data::__construct() registers _save_to_session() on the PHP shutdown hook before the CSRF check runs, causing the transient write to fire even after wp_safe_redirect()+exit; the GET path via the [mwform_formkey] shortcode has no CSRF check at all.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/web-soudan/mw-wp-form/pull/55/changes
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/control
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/service
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.9/classes/models/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0becfaf1-7d53-4803-a25
FAQ
What is CVE-2026-120746?
CVE-2026-120746 is a vulnerability with a CVSS score of 5.3 (MEDIUM). The MW WP Form plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.8 via the 'mw-wp-form_session_mw-wp-form-<FORM_ID>' parameter due to mis...
How severe is CVE-2026-120746?
CVE-2026-120746 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120746?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.