Vulnerabilities / MW WP Form / WPSEC-2026-4263

MW WP Form <= 5.1.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Meta Replacement Tags

Medium 4.9 CWE-79Fixed in 5.1.10
ID
WPSEC-2026-4263
Plugin
MW WP Form (mw-wp-form)
Affected
all versions before 5.1.10
Remediation
Update to 5.1.10 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-11-30
Attack surface
MW WP Form on WPSec AttackSurface
Fix released
Published

Description

The MW WP Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post meta values substituted for {key} replacement tags in form content in all versions up to, and including, 5.1.9, due to insufficient output escaping. The plugin inserts the values unescaped after the form content has been filtered, and then runs the result through do_shortcode. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when a user views a page showing the form. To do this, the attacker sets a custom field on a post that shows the form, or on a post passed in the post_id URL parameter when the form's query string option is enabled. Exploitation requires that the form uses a replacement tag matching a meta key the attacker can set.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0