# WPGraphQL <= 2.26.0 - Unauthenticated Sensitive Information Exposure via Comments Connection Filters

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

## Description

The WPGraphQL plugin for WordPress is vulnerable to Sensitive Information Exposure via the comments connection in all versions up to, and including, 2.26.0 due to insufficient restriction of query arguments, search, ordering and cursors for users who cannot moderate comments. This makes it possible for unauthenticated attackers to use filtering by author email, searching (which matches author email and IP address), ordering by email, IP or user agent, and status, content and cursor filters as an oracle to infer commenters' email addresses and IP addresses and the existence of unapproved comments or comments on private and draft content.

## References

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

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

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.
