CVE-2026-120746: MW WP Form <= 5.1.8 - Insecure Direct Object Reference to Unauthenticated Arbitrary Transient Overwrite and Deletion via 'mw-wp-form_session_mw-wp-form-<FORM_ID>' Cookie

Published Nov 26, 2026
·
Updated

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-formsessionmw-wp-form-<FORMID>' 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 wpoptions — including core-managed transients such as wpstylesforblocks — 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 MWWPFormData::construct() registers savetosession() on the PHP shutdown hook before the CSRF check runs, causing the transient write to fire even after wpsaferedirect()+exit; the GET path via the [mwformformkey] shortcode has no CSRF check at all.

Affected Software

1 affected component
MW WP Form MW WP Form<=5.1.8

Event History

Nov 26, 2026
CVE Published
via MITRE·12:35 PM
Data Sourced
via MITRE·12:35 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Unauthenticated remote attackers can exploit it. No privileges or user interaction are required, and the affected cookie parameter is user controlled.

2

Are sites affected through normal front-end form handling?

Yes. The GET path exposed through the [mwform_formkey] shortcode has no CSRF check, and the transient write is registered before the plugin's CSRF check runs.

3

What can an attacker change?

An attacker can overwrite or delete arbitrary WordPress transients stored in wp_options. This includes core-managed transients such as wp_styles_for_blocks, which can be used to inject attacker-controlled CSS into front-end pages.

4

Why might the impact persist after the initial request?

Poisoned transient values can be anchored so that they never expire. As a result, affected transient data may remain in place until it is manually identified and removed or overwritten.

5

How can administrators check for possible impact?

Review WordPress transient entries in wp_options for unexpected or altered values, particularly core-managed entries such as wp_styles_for_blocks. Also inspect front-end pages for unexpected CSS that could indicate a modified styles transient.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203