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…
CVE-2026-120746
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- ' 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.
Assessment
- CVSS
- 5.3 (v3.1)
- Severity
- Medium
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 26 November 2026
- Last updated
- 26 November 2026
- Affected
- websoudan · MW WP Form
- Assigner
- Wordfence
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
At the source
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0becfaf1-7d53-4803-a255-1eeacd0566f5?source=cve
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L40
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L99
- 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.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/controllers/class.main.php#L141
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/services/class.exec-shortcode.php#L74
- https://github.com/web-soudan/mw-wp-form/pull/55/changes
- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.9/classes/models/class.session.php
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-120746