# WPGraphQL <= 2.24.1 - Authenticated (Subscriber+) Sensitive Information Exposure via updateComment and deleteComment Error Messages

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

## Description

The WPGraphQL plugin for WordPress is vulnerable to Sensitive Information Exposure via the updateComment and deleteComment mutations in all versions up to, and including, 2.24.1, due to a nonexistent comment ID returning a different error message than an existing comment the caller is not allowed to modify. This makes it possible for authenticated attackers with Subscriber-level access and above to enumerate which comment IDs exist, including unapproved comments.

## References

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

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

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.
