Skip to content

CVE-2026-107711 FlexStock <= 3.17.2 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'post_content' Parameter via REST update endpoint

MediumCVSS 6.4 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
wordpress stock-sync-with-google-sheet-for-woocommerce(WordPress) < 3.17.3 3.17.3 Fixed
WPPOOL FlexStock – Product Stock Sync with Google Sheets for WooCommerce <= 3.17.2 after 3.17.2 Fixed

Affected products

ProductAffected versionsFixed in
WPPOOL FlexStock – Product Stock Sync with Google Sheets for WooCommerce <= 3.17.2 No fix listed
wordpress stock-sync-with-google-sheet-for-woocommerce(WordPress) < 3.17.3 3.17.3

References