WPGraphQL before 2.24.2 contains an information disclosure vulnerability that allows unauthenticated attackers to determine object existence through distinct error responses. Attackers can iterate IDs against deleteMediaItem, updateMediaItem, deleteComment and updateComment mutations to discover hidden draft, private, trashed posts, custom post types, and unapproved comments.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/wp-graphql/wp-graphql/commit/3fb1904acff4df00287ef6278fe40438d276a9f9 patch
- https://github.com/wp-graphql/wp-graphql/commit/bb4f778cae04f60c40bbcb1c80bed4faf91ad836 patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.9 · wpgraphqlNVD modified 2026-10-30 15:19
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 7
- https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-r7m4-3v6c-3435 vendor-advisory
- https://github.com/wp-graphql/wp-graphql/commit/3fb1904acff4df00287ef6278fe40438d276a9f9 patch
- https://github.com/wp-graphql/wp-graphql/commit/bb4f778cae04f60c40bbcb1c80bed4faf91ad836 patch
- https://github.com/wp-graphql/wp-graphql/blob/wp-graphql/v2.24.0/plugins/wp-graphql/src/Mutation/MediaItemDelete.php technical-description
- https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.24.2 release-notes
- https://github.com/wp-graphql/wp-graphql product
- https://www.vulncheck.com/advisories/wpgraphql-before-2.24.2-object-existence-disclosure-via-media-and-comment-mutations third-party-advisory