MW WP Form に脆弱性 — CVE-2026-120746
いま何をすべきか
MW WP Form を 5.1.9 以降に更新してください。
影響を受けるバージョン
- 5.1.8 以下のすべて
対象: プラグイン「MW WP Form」(mw-wp-form)
何が起きるのか
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.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
MW WP Form を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- 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/controllers/class.main.php#L141
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.data.php#L90
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.data.php#L96
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L186
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L40