Description
The WCFM Membership – WooCommerce Memberships for Multivendor Marketplace plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wcfm_membership_registration_form[store_name]' parameter in all versions up to, and including, 2.12.0 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. The nonce required to reach the registration endpoint is publicly emitted on the /vendor-register/ page, making the endpoint fully reachable by unauthenticated attackers without any prior authentication or privilege escalation.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
wclovers WCFM Membership – WooCommerce Memberships for Multivendor Marketplace
Default version status: unaffected
0 to ≤ 2.12.0affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/88682cb9-4b04-4cb6-8b62-af6e62b81950?source=cve ↗
- https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/core/class-wcfmvm.php#L1366 ↗
- https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/controllers/wcfmvm-controller-memberships-registration.php#L24 ↗
- https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/controllers/wcfmvm-controller-memberships-registration.php#L394 ↗
- https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/core/class-wcfmvm-ajax.php#L103 ↗
- https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/ ↗
- https://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.1/core/class-wcfmvm.php ↗