# Advanced Flat rate shipping Woocommerce <= 1.6.6.17 - Cross-Site Request Forgery to Shipping Package Status Update

- **ID:** WPSEC-2026-1296
- **Plugin:** PI Advanced Flat rate / Conditional shipping for WooCommerce (`advanced-free-flat-shipping-woocommerce`), https://wordpress.org/plugins/advanced-free-flat-shipping-woocommerce/
- **Affected versions:** from 1.6.4.24 before 1.6.6.19
- **Fixed in:** 1.6.6.19 (Update to 1.6.6.19 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/advanced-free-flat-shipping-woocommerce
- **Fix released:** 2026-10-20
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1296/

## Description

The PI Advanced Flat rate / Conditional shipping for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery via the pisol_affsw_package_manager_change_status AJAX action in versions 1.6.4.24 up to, and including, 1.6.6.17, due to missing nonce validation in the Pi_Efrs_Add_Edit_Package::enableDisable() function. This makes it possible for unauthenticated attackers to enable or disable shipping packages via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-1296/
- https://plugins.svn.wordpress.org/advanced-free-flat-shipping-woocommerce/tags/1.6.6.19/
- https://wordpress.org/plugins/advanced-free-flat-shipping-woocommerce/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1296/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
