# WPGraphQL <= 2.29.0 - Unauthenticated Sensitive Information Exposure via Comment Author Node

- **ID:** WPSEC-2026-4661
- **Plugin:** WPGraphQL (`wp-graphql`), https://wordpress.org/plugins/wp-graphql/
- **Affected versions:** all versions before 2.30.0
- **Fixed in:** 2.30.0 (Update to 2.30.0 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-200
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-graphql
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4661/

## Description

The WPGraphQL plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.29.0 due to the CommentAuthor model not applying any visibility check of its own when it is loaded directly, for example through the node(id:) query with a comment author global ID. This makes it possible for unauthenticated attackers to read author details such as name and URL of held, spam or trashed comments, and of comments on content they are not permitted to view.

## References

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

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

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.
