Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running MW WP Form <=5.1.8
-
DeliverySend request with crafted session-key parameter
-
ExploitTransient write fires before CSRF check
-
ExecutionOverwrite core wp_styles_for_blocks transient
-
PersistInject attacker CSS into every page
-
ImpactAnchor poisoned transient permanently
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires the MW WP Form plugin (by websoudan/web-soudan) at version <=5.1.8 installed and active, with at least one reachable form (a valid <FORM_ID>) so the session/transient code path executes. Exploitation is unauthenticated (CVSS PR:N) and needs no user interaction: the attacker controls the 'mw-wp-form_session_mw-wp-form-<FORM_ID>' key, and MW_WP_Form_Data::__construct() registers _save_to_session() on the PHP shutdown hook before the CSRF check runs, so the transient write still fires after wp_safe_redirect()+exit; the GET path via the [mwform_formkey] shortcode has no CSRF check at all. Limiting factors: impact is integrity/state-only (no data disclosure, no direct code execution) - the leverage is overwriting/deleting transients (e.g. wp_styles_for_blocks) to inject site-wide CSS or poison cached values; sites on 5.1.9 or later are not affected because the fix validates the session id as 40-char hex and namespaces the transient name. The vendor fix (upgrade to 5.1.9) is the stated remediation. |
| Impact | Signals are mixed and point to a real but non-critical, non-urgent issue. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, base 5.3 Medium) indicates a network-reachable, low-complexity, unauthenticated attack with only limited integrity impact and no confidentiality or availability loss. No EPSS score was provided, so exploitation probability cannot be quantified. KEV status is not listed, so there is no confirmed active exploitation. No POC/exploit flag is set - the links that look like PoCs are WordPress.org source-browser and GitHub patch (PR #55) references, i.e. fix/analysis material, not verified working exploit code. The vuln.today decision label is 'this_month' (notable but not emergency), consistent with a Wordfence-reported plugin IDOR rather than a mass-exploited flaw. The one factor that raises practical concern beyond the 5.3 score is the mechanism: an unauthenticated attacker can overwrite or delete arbitrary WordPress transients in wp_options, including core-managed ones such as wp_styles_for_blocks, allowing attacker-controlled CSS to be injected into every front-end page and poisoned values to be anchored so they never re-expire. That site-wide, persistent effect arguably crosses from the plugin into core state and supports defacement or overlay/clickjacking setups, so I assess real-world integrity impact slightly higher than the base score implies. Net: a genuine priority for sites running this plugin, but not an emergency - no confirmed exploitation, no verified public exploit, impact limited to integrity/availability of site state. |
| Exploit ScenarioDerived | An unauthenticated attacker locates a WordPress site running MW WP Form (<=5.1.8) with a published form and sends crafted requests abusing the user-controlled 'mw-wp-form_session_mw-wp-form-<FORM_ID>' session key, which is written to a transient on the PHP shutdown hook before the CSRF check runs (and with no CSRF check at all on the [mwform_formkey] GET path). By targeting the core-managed wp_styles_for_blocks transient, the attacker overwrites it with attacker-controlled CSS that is then served into every front-end page and never re-expires. No public exploit code is identified at time of analysis; the referenced links are the vendor advisory and the upstream patch, not weaponized exploits. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
MW WP Form 5.1.8 and earlier lets unauthenticated remote attackers overwrite or delete arbitrary WordPress transients in the wp_options table by supplying a crafted 'mw-wp-form_session_mw-wp-form-<FORM_ID>' cookie value, because the session transient key is taken from user input without validation (CWE-639). By targeting core-managed transients such as wp_styles_for_blocks, an attacker can inject their own CSS into every front-end page and pin poisoned values so they never re-expire; the plugin's CSRF check does not stop this since the transient write is registered on the PHP shutdown hook before the nonce check runs, and the GET path through the [mwform_formkey] shortcode has no CSRF check at all. Impact is integrity and state only - no data disclosure or code execution - and the independent assessment rates it as a real but non-critical issue (this_month priority, no KEV listing and no public exploit identified at time of analysis). The vendor fixed it in 5.1.9.
RemediationAI
Vendor-released patch: upgrade MW WP Form to 5.1.9 or later, which validates the session cookie as a 40-character hex string and namespaces the transient name, closing the arbitrary-transient write and delete path; the same release also hardens CSV export against formula injection, and sites already on 5.1.9 are not affected. Version details are in the plugin readme and the fix diff at https://github.com/web-soudan/mw-wp-form/pull/55/changes, with the vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/0becfaf1-7d53-4803-a255-1eeacd0566f5?source=cve. No configuration-level workaround (such as disabling a feature or blocking a port) is documented in the available sources - because the sink is a front-end shortcode and cookie-driven shutdown write, the vendor's stated remediation is the update itself; if updating is not immediately possible, deactivating the plugin removes the vulnerable code path entirely, at the cost of losing all forms until it is reinstalled, and post-exploitation the wp_styles_for_blocks transient and other poisoned option rows should be deleted and audited for injected CSS.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WordPress transients are keyed rows in wp_options (or the object cache) used to store short-lived state with an expiry; whoever controls the transient name controls which row is read, written, or deleted, including rows owned by WordPress core. MW WP Form's session model derived that name directly from the session cookie: class.session.php read $_COOKIE[$this->name] and passed it into the transient name without any format validation, and the per-form session key 'mw-wp-form_session_mw-wp-form-<FORM_ID>' is attacker-controllable. The write is performed by _save_to_session(), which MW_WP_Form_Data::__construct() registers on PHP's shutdown hook (class.data.php), so it fires after the plugin's CSRF verification and after wp_safe_redirect()+exit; the shortcode GET path in class.exec-shortcode.php performs no CSRF check at all, removing the remaining gate. The result is a classic CWE-639 authorization bypass through a user-controlled key: no authentication, no user interaction, but also no read of the target value and no code execution - leverage comes from overwriting or deleting well-known transient names such as wp_styles_for_blocks to persist attacker CSS site-wide. The 5.1.9 fix (PR #55) makes two changes to class.session.php: the cookie value must match /\A[0-9a-f]{40}\z/ before being used, and the transient name is namespaced with MWF_Config::NAME . '_session_' so a session id can no longer alias an arbitrary transient. The same release also hardens CSV export by prefixing a single quote to values beginning with = + - @ tab or newline (a separate formula-injection issue bundled into the same security release).
Know when Mw Wp Form gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Unauthenticated network write (AV:N/AC:L/PR:N/UI:N); overwriting core-managed transients crosses from the plugin into core state (S:C) with site-wide CSS injection (I:L) and persistent transient poisoning/deletion (A:L).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Mw Wp Form
View allThe MW WP Form plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in
Unrestricted upload of file with dangerous type exists in MW WP Form versions v4.4.2 and earlier, which may allow a remo
Directory traversal vulnerability in MW WP Form versions v4.4.2 and earlier allows a remote unauthenticated attacker to
Shortcode injection in MW WP Form WordPress plugin (versions before 5.1.5) allows unauthenticated remote attackers to ex
The MW WP Form plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 5.0.3
Arbitrary file manipulation in MW WP Form plugin (WordPress) versions ≤5.1.1 allows unauthenticated attackers to move se
Arbitrary file movement in MW WP Form plugin for WordPress (all versions ≤5.1.0) allows unauthenticated remote attackers
Stored XSS in the MW WP Form WordPress plugin (all versions before 5.1.6) lets authenticated users holding the Editor ro
Stored cross-site scripting in the MW WP Form plugin for WordPress (all versions up to and including 5.1.7) lets an unau
Reflected or stored Cross-Site Scripting in the MW WP Form WordPress plugin (versions <= 5.1.3) allows remote unauthenti
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in websoudan MW WP Fo
MW WP Form, a WordPress form plugin, exposes stored inquiry records through its 'post_id' parameter in all versions up t
EUVD-2026-136451
NVD
CVE.org
EPSS
GitHub
Exploit-DB