Technical impact
WPGraphQL before version 2.24.1 has a missing authorization check in the createComment mutation, enabling attackers who are not logged in to add comments to posts that are draft, private, trashed, or password‑protected. This can leak hidden post titles through moderator notifications, allow enumeration of post IDs, and let attackers back‑date comments or mark them as pingbacks, potentially exposing sensitive information or aiding in site reconnaissance.
Affected Systems
Any WordPress site running the WPGraphQL plugin at a version earlier than 2.24.1, regardless of the underlying WordPress core version, is susceptible to this flaw.
Risk and Exploitability
The vulnerability carries a CVSS score of 6.9 and no EPSS metric is currently available. Because the createComment mutation is publicly exposed, an unauthenticated attacker can directly exploit the flaw by sending a properly crafted GraphQL request to the /graphql endpoint. Based on the description, the likely attack vector is sending a crafted GraphQL request to the /graphql endpoint; this is inferred from the public accessibility of the mutation. The flaw is not listed in CISA’s KEV catalog, but its moderate severity and the ease of exploitation make it a significant risk for sites that expose the GraphQL API to the web.