# 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

Status: published. Published: 2026-11-26. Updated: 2026-11-26.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- websoudan / MW WP Form: ≥ 0; ≤ 5.1.8 (affected, semver). Source: CNA: Wordfence

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; source: CNA: Wordfence

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-639

## 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=cve (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L40 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L99 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.session.php#L186 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.data.php#L90 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/models/class.data.php#L96 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/controllers/class.main.php#L141 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.8/classes/services/class.exec-shortcode.php#L74 (CNA: Wordfence)

- https://github.com/web-soudan/mw-wp-form/pull/55/changes (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/mw-wp-form/tags/5.1.9/classes/models/class.session.php (CNA: Wordfence)

## Provenance

- CNA: Wordfence: https://www.cve.org/CVERecord?id=CVE-2026-120746; retrieved 2026-11-26; source updated 2026-11-26

Revision: 2225f6dad904279c8ba254283f7c9250ae83e50cfebd324072e0bfad3b413e53

Canonical: https://y2.dev/cve/CVE-2026-120746

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.