What’s Vulnerable › Vulnerabilities
CVE-2018-8711
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-03-14 · updated 2026-06-17
- Weakness: CWE-20
Description
A local file inclusion issue was discovered in the WooCommerce Products Filter (aka WOOF) plugin before 2.2.0 for WordPress, as demonstrated by the shortcode parameter in a woof_redraw_woof action. The vulnerability is due to the lack of args/input validation on render_html before allowing it to be called by extract(), a PHP built-in function. Because of this, the supplied args/input can be used to overwrite the $pagepath variable, which then could lead to a local file inclusion attack.
Affected products
- Woocommerce-Filter Woocommerce Products Filter: before 2.2.0 — fixed in 2.2.0
How to fix
Upgrade to a fixed version: Woocommerce-Filter Woocommerce Products Filter 2.2.0. Check the vendor advisory for mitigations.
References
- https://sec-consult.com/en/blog/advisories/arbitrary-shortcode-execution-local-file-inclusion-in-woof-pluginus-net/index.html
- https://wordpress.org/plugins/woocommerce-products-filter/#developers
- https://www.woocommerce-filter.com/update-woocommerce-products-filter-v-2-2-0/
- https://sec-consult.com/en/blog/advisories/arbitrary-shortcode-execution-local-file-inclusion-in-woof-pluginus-net/index.html
- https://wordpress.org/plugins/woocommerce-products-filter/#developers
- https://www.woocommerce-filter.com/update-woocommerce-products-filter-v-2-2-0/
Get alerted when CVE-2018-8711 or the next vulnerability affects your stack