# MarketKing — Ultimate WooCommerce Multivendor Marketplace Solution <= 2.1.72 - Authenticated (Vendor+) Stored Cross-Site Scripting via Excessive Vendor Capabilities

- **ID:** WPSEC-2026-1336
- **Plugin:** MarketKing — Ultimate WooCommerce Multivendor Marketplace Solution (`marketking-multivendor-marketplace-for-woocommerce`), https://wordpress.org/plugins/marketking-multivendor-marketplace-for-woocommerce/
- **Affected versions:** all versions before 2.1.80
- **Fixed in:** 2.1.80 (Update to 2.1.80 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/marketking-multivendor-marketplace-for-woocommerce
- **Fix released:** 2026-10-20
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1336/

## Description

The MarketKing plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 2.1.72. This is due to the vendor_upload_items 'user_has_cap' filter giving every vendor broad WordPress capabilities, including unfiltered_html, edit_posts, publish_posts, edit_published_posts, moderate_comments, manage_categories and edit_shop_orders. This makes it possible for authenticated attackers with vendor-level access to create and publish posts containing arbitrary web scripts, which run whenever a user, including an administrator, views an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-1336/
- https://plugins.svn.wordpress.org/marketking-multivendor-marketplace-for-woocommerce/tags/2.1.80/
- https://wordpress.org/plugins/marketking-multivendor-marketplace-for-woocommerce/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1336/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
