# Gutenberg <= 24.4.1 - Authenticated (Editor+) Missing Authorization to Comment Attribution to Non-Member Users via REST API

- **ID:** WPSEC-2026-3497
- **Plugin:** Gutenberg (`gutenberg`), https://wordpress.org/plugins/gutenberg/
- **Affected versions:** from 24.3.0 before 24.4.2
- **Fixed in:** 24.4.2 (Update to 24.4.2 or later.)
- **Severity:** Low 2.2 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-863
- **Usage among sites WPSec scans:** plugin High, affected versions Medium (as of 2026-11-19)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/gutenberg
- **Fix released:** 2026-11-18
- **Published:** 2026-11-19
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3497/

## Description

The Gutenberg plugin for WordPress is vulnerable to unauthorized comment attribution via the 'author' parameter of the REST API comment creation endpoint in versions 24.3.0 up to, and including, 24.4.1. This is due to an insufficient authorization check in the plugin's replacement comments controller: any user with the moderate_comments capability may set 'author' to any user ID, and the plugin does not check that the target user is a member of the current site. This makes it possible for authenticated attackers with comment moderation privileges (Editor-level access and above) on multisite installations to create comments attributed to users who do not belong to the site, impersonating users from other sites in the network.

## References

- https://wpsec.com/vuln/WPSEC-2026-3497/
- https://plugins.svn.wordpress.org/gutenberg/tags/24.4.2/
- https://wordpress.org/plugins/gutenberg/

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

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.
