Descrizione
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.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.2, EPSS 0.5% (percentile 34).
Versioni da aggiornare
- wclovers WCFM Membership – WooCommerce Memberships for Multivendor Marketplace: vulnerabili le versioni fino alla
2.12.0inclusa → aggiornare a una release successiva alla2.12.0.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare una Content-Security-Policy restrittiva e regole WAF contro XSS; invitare gli utenti a non aprire link sospetti verso l'applicazione.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| wclovers | WCFM Membership – WooCommerce Memberships for Multivendor Marketplace | ≤ 2.12.0 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/wc-multivendor-membership/
- Riferimentohttps://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/controllers/wcfmvm-controller-memberships-registration.php#L24
- Riferimentohttps://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/controllers/wcfmvm-controller-memberships-registration.php#L394
- Riferimentohttps://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/core/class-wcfmvm-ajax.php#L103
- Riferimentohttps://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.0/core/class-wcfmvm.php#L1366
- Riferimentohttps://plugins.trac.wordpress.org/browser/wc-multivendor-membership/tags/2.12.1/core/class-wcfmvm.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/88682cb9-4b04-4cb6-8b62-af6e62b81950?source=cve