Products Suggestions for WooCommerce <= 3.6.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Suggestion Conditions

Medium 6.4 CWE-79Fixed in 3.7
ID
WPSEC-2026-1628
Plugin
Products Suggestions for WooCommerce (cart-products-suggestions-for-woocommerce)
Affected
all versions before 3.7
Remediation
Update to 3.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-25
Attack surface
Products Suggestions for WooCommerce on WPSec AttackSurface
Fix released
Published

Description

The Products Suggestions for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the suggestion condition settings in all versions up to, and including, 3.6.4, due to insufficient sanitization of the array keys of submitted condition groups and conditions, and missing escaping when those keys are printed into HTML attributes by the conditions builder. The Suggestion post type uses the standard 'post' capabilities, so any user who can edit posts can create a suggestion. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when a user, such as an administrator, opens the suggestion's edit screen.

References

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

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

License: CC BY 4.0