CVE-2026-120746: MW WP Form cross-site request forgery (CSRF) vulnerability
published 2026-11-26
- Affected versions
- 5.1.8 and older
- Fixed in
- 5.1.9 *
- Latest version
- 5.1.9
- Active installs
- 200,000+
- Type
- Cross-site request forgery (CSRF)
* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.
What to do now
- Update MW WP Form to 5.1.9 or newer: Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- Not sure which version you run? Check your version against every known MW WP Form issue.
With WP-CLI:
wp plugin get mw-wp-form --field=version. - If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.
Is your site exposed to CVE-2026-120746?
- Are you on an affected version? Compare your MW WP Form version with every known issue on record. Check my version
- Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
- Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works
What an attacker needs
- Access: None. No account or login is needed.
Technical details
Weakness
Cross-site request forgery (CSRF) CWE-352
An action does not properly confirm that the logged-in person meant to perform it, so a page on another site can trigger it from their browser.
A logged-in user or administrator who visits the attacker's page can carry out the action without knowing it.
General description of this issue type. The advisory below covers this bug.
CVSS 3.1 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- None
CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
The advisory
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.
References
- NVD CVE-2026-120746 nvd.nist.gov
- Wordfence advisory www.wordfence.com
- github.com github.com
- Plugin source plugins.trac.wordpress.org
How Laskyr cleans up a site hacked through MW WP Form
We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.
Related
Ran an affected version? Run the free scan for signs of a hack.
Where this data comes from
- CVE record, score and references: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Versions and install counts: wordpress.org/plugins/mw-wp-form (Plugins API), fetched 2026-11-29.
- Everything outside the quoted description is our plain-English reading of the record and the plugin's release history. The CWE is the standard one for this issue type. Spot an error? Email Daniel.