Description
The WPC Product Bundles for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'qty' parameter in all versions up to, and including, 8.6.6 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 float cast used during quantity validation allows a numeric-prefixed payload such as '1<img src=x onerror=...>' to pass validation while retaining its malicious HTML, which is then stored verbatim in order item metadata under the '_woosb_ids' key.
References6
- plugins.trac.wordpress.org/browser/woo-product-bundle/tags/8.6.…
- plugins.trac.wordpress.org/browser/woo-product-bundle/tags/8.6.…
- plugins.trac.wordpress.org/browser/woo-product-bundle/tags/8.6.…
- plugins.trac.wordpress.org/browser/woo-product-bundle/tags/8.6.…
- plugins.trac.wordpress.org/changeset?reponame=&old=3702892%40wo…
- www.wordfence.com/threat-intel/vulnerabilities/id/fc620054-00ed…
Metrics
- CVSS 3.1
-
7.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 33 · as of 8 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.