# WPGraphQL <= 2.24.0 - Authenticated (Contributor+) Sensitive Information Exposure via Trashed Posts

- **ID:** WPSEC-2026-1079
- **Plugin:** WPGraphQL (`wp-graphql`), https://wordpress.org/plugins/wp-graphql/
- **Affected versions:** all versions before 2.24.1
- **Fixed in:** 2.24.1 (Update to 2.24.1 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-16)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-graphql
- **Fix released:** 2026-10-15
- **Published:** 2026-10-16
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1079/

## Description

The WPGraphQL plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.24.0 due to the Post model only requiring the edit_posts capability, rather than edit_others_posts, to view content in the trash. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the contents of trashed posts authored by other users through GraphQL queries.

## References

- https://wpsec.com/vuln/WPSEC-2026-1079/
- https://plugins.svn.wordpress.org/wp-graphql/tags/2.24.1/
- https://wordpress.org/plugins/wp-graphql/

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

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.
