# WPGraphQL <= 2.24.0 - Authenticated (Subscriber+) Missing Authorization to Comment Metadata Modification and Moderation Bypass via updateComment

- **ID:** WPSEC-2026-1076
- **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:N/I:L/A:N)
- **Weakness:** CWE-285
- **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-1076/

## Description

The WPGraphQL plugin for WordPress is vulnerable to unauthorized modification of data in the updateComment mutation in all versions up to, and including, 2.24.0 due to insufficient restrictions on which fields a comment's author may change without the moderate_comments capability. This makes it possible for authenticated attackers, with Subscriber-level access and above, to move their own comments to other posts, change the displayed author name, email, URL, date, parent and type, and rewrite the content of already-approved comments without the comment being sent back to moderation.

## References

- https://wpsec.com/vuln/WPSEC-2026-1076/
- 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-1076/

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.
