CVE-2026-119702
WPGraphQL before 2.24.1 Missing Authorization via createComment Mutation
6.9
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| wpgraphql | wpgraphql | 0 → <2.24.1 | 2.24.1 | CVE.org |