Technical impact
The vulnerability allows an authenticated attacker with subscriber-level access or higher to store malicious JavaScript in a product’s post_content via the FlexStock REST update endpoint. The stored script is rendered without proper sanitization or output escaping, meaning it will execute whenever a page containing the injected content is viewed. This is a classic example of stored XSS, classified as CWE‑79.
Affected Systems
The issue affects the FlexStock – Product Stock Sync with Google Sheets for WooCommerce WordPress plugin, in all releases up to version 3.17.2. Any WordPress site using these versions of the plugin is susceptible.
Risk and Exploitability
The CVSS score of 6.4 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with at least subscriber privileges; the attacker leverages the REST endpoint’s permission callback that merely checks a bearer token, as well as the token leakage through an admin page. Consequently, any subscriber can add malicious payloads that will be executed on subsequent page loads.