# WPGSI: Spreadsheet Integration <= 3.8.4 - Cross-Site Request Forgery to Arbitrary Post Deletion

- **ID:** WPSEC-2026-3717
- **Plugin:** WPGSI: Spreadsheet Integration (`wpgsi`), https://wordpress.org/plugins/wpgsi/
- **Affected versions:** from 3.7.4 before 3.8.5
- **Fixed in:** 3.8.5 (Update to 3.8.5 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wpgsi
- **Fix released:** 2026-11-22
- **Published:** 2026-11-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3717/

## Description

The WPGSI: Spreadsheet Integration plugin for WordPress is vulnerable to Cross-Site Request Forgery via the delete action of the 'Show Google Sheet as a table' admin page in all versions from 3.7.4 up to, and including, 3.8.4. This is due to missing nonce validation and a missing post-type check in the Wpgsi_Show::wpgsi_show_view() function, which passes the supplied 'id' parameter straight to wp_delete_post(). This makes it possible for unauthenticated attackers to trash or delete arbitrary posts, pages and other content by ID 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-3717/
- https://plugins.svn.wordpress.org/wpgsi/tags/3.8.5/
- https://wordpress.org/plugins/wpgsi/

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

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.
