Technical impact
WPGraphQL before 2.24.2 contains an information disclosure flaw that lets unauthenticated attackers discover whether specific media items or comments exist by observing distinct error responses to mutation requests. The vulnerability allows attackers to iterate numeric identifiers for deleteMediaItem, updateMediaItem, deleteComment and updateComment mutations, revealing the presence of hidden drafts, private or trashed posts, custom post types, and unapproved comments. The primary impact is the disclosure of sensitive content existence, which can aid further attacks or privacy violations.
Affected Systems
WordPress sites using the WPGraphQL plugin prior to version 2.24.2 are affected. Any installation of WPGraphQL older than the v2.24.2 release may expose the vulnerability.
Risk and Exploitability
The CVSS score is 6.9, indicating moderate severity, and the vulnerability is exploitable by unauthenticated users over the network. Attackers can target the public GraphQL endpoint, sending mutation queries to trigger error responses that reveal object existence. The EPSS score is unavailable, and the flaw is not listed in CISA’s KEV database, but its remote, unauthenticated nature and moderate score suggest that it is a credible risk in environments where the GraphQL endpoint is exposed to the Internet.