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
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| MW WP Form websoudan |
≥ 0; ≤ 5.1.8 (affected, semver)
Other versions: unaffected |
CNA: Wordfence |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.3 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | CNA: Wordfence |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0becfaf1-7d53-4803-a255-1eeacd0566f5?source=cveCNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L40CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L99CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L186CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.data.php#L90CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.data.php#L96CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/controllers/class.main.php#L141CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/services/class.exec-shortcode.php#L74CNA: Wordfence
- https://github.com/web-soudan/mw-wp-form/pull/55/changesCNA: Wordfence
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.9/classes/models/class.session.phpCNA: Wordfence
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.