WPGraphQL unauthorized comments on non-public posts via createComment
WPGraphQL
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| WPGraphQL WPGraphQL |
| No fix yet |
Original description
WPGraphQL before 2.24.1 contains a missing authorization vulnerability in the createComment mutation that allows unauthenticated attackers to comment on non-public posts by bypassing post status checks. Attackers can attach comments to draft, private, trashed, or password-protected posts to leak hidden titles via moderator notifications, enumerate post IDs, and backdate comments or mark them as pingbacks.
From the CVE record · VulnCheck