CVE Catalog

CVE-2026-107711

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

28th percentile - higher than 28% of all known CVEs

Summary

The FlexStock plugin for WordPress (up to and including 3.17.2) is vulnerable to Stored Cross-Site Scripting via the 'products[].post_content' parameter due to insufficient input sanitization and output escaping. An authenticated attacker with subscriber-level access and above can inject arbitrary web scripts into pages that will execute when 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 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.

Risk Assessment

An attacker with a subscriber account can execute arbitrary JavaScript in the browser of other users, including administrators, potentially leading to account takeover. The exposure of the bearer token further facilitates exploitation.

Recommendation

Update the FlexStock plugin to a version later than 3.17.2. Additionally, review and restrict subscriber privileges and secure bearer tokens.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS