CVE-2026-107711
mediumThe FlexStock – Product Stock Sync with Google Sheets for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'products[].pos…
The FlexStock – Product Stock Sync with Google Sheets for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'products[].post_content' parameter in all versions up to, and including, 3.17.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by any Subscriber-level user because the plugin's admin_enqueue_scripts callback exposes the REST bearer token in the Dashboard page source via wp_localize_script() without a capability check, and the REST endpoint's permission_callback validates only that bearer token rather than performing a current_user_can() capability check.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://plugins.trac.wordpress.org/browser/stock-sync-with-google-sheet-for-woocommerce/ta... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/stock-sync-with-google-sheet-for-woocommerce/ta... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/stock-sync-with-google-sheet-for-woocommerce/ta... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/stock-sync-with-google-sheet-for-woocommerce/ta... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/stock-sync-with-google-sheet-for-woocommerce/ta... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/stock-sync-with-google-sheet-for-woocommerce/ta... security@wordfence.com
- https://plugins.trac.wordpress.org/changeset/3768111/stock-sync-with-google-sheet-for-wooc... security@wordfence.com
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b03cabc6-1cbe-4aa2-8eae-cea30d01... security@wordfence.com
