CVE-2026-136589: MW WP Form <= 5.1.9 - Unauthenticated Stored Cross-Site Scripting via {post_title} Placeholder via post_id Query String
The MW WP Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'postid (selector) → posttitle (payload)' parameter in all versions up to, and including, 5.1.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the form's "Activate Query string of post" option to be enabled, and the attacker must control a publicly viewable post title — achievable with Author-level access or, when a co-installed plugin such as bbPress permits anonymous topic submissions, by unauthenticated attackers. Exploitation by unauthenticated attackers requires that bbPress plugin installed and configured to allow anonymous topic posting, and the MW WP Form form has 'Activate Query string of post' enabled with a {posttitle} placeholder. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
Affected Software
Event History
Frequently Asked Questions
When can this be exploited without an authenticated WordPress account?
Unauthenticated exploitation requires bbPress to be installed and configured to allow anonymous topic submissions. The affected MW WP Form must also have "Activate Query string of post" enabled and use a {post_title} placeholder.
Are default MW WP Form installations exposed to unauthenticated exploitation?
No. On a default installation where the relevant query-string behavior is not configured, exploitation requires an attacker with Author-level access or higher.
What attacker-controlled content is needed for exploitation?
The attacker must control the title of a publicly viewable post. This can be achieved with Author-level access, or through anonymous bbPress topic submissions when that capability is enabled.
How can I identify forms that are exposed?
Review MW WP Form forms for the "Activate Query string of post" option and for use of the {post_title} placeholder. Also determine whether publicly viewable post titles can be created by Authors or anonymously through bbPress.