Incorrect authorization in WPGraphQL - #VU169713
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote user to take ownership of, modify, or permanently delete other users’ media items and their files, and to attach their own media items to posts they lack permission to edit.
The vulnerability exists due to incorrect authorization in the WPGraphQL updateMediaItem mutation when processing ownership changes and post attachments without consistently enforcing permissions on the existing media item and the destination post. A remote user can misuse media updates to gain unauthorized control over another user’s media or create unauthorized post attachments.