{"id":"CVE-2026-88974","published":"2026-09-23T14:11:06Z","modified":"2026-09-23T16:21:35Z","title":"WPGraphQL: Contributor can publish and modify posts without the required capabilities via updatePost","vendor":"wp-graphql","product":"wp-graphql","tier":"tail","description":{"text":"WPGraphQL provides a GraphQL API for WordPress sites. Prior to 2.22.2, the updatePost mutation in src/Mutation/PostObjectUpdate.php checks only the collection-level edit_posts capability and the post author, but does not enforce the object-level edit_post capability or require publish_posts for public status transitions. An authenticated Contributor can therefore publish the Contributor's own draft without editorial approval or modify the Contributor's previously published post despite lacking edit_published_posts, while posts owned by other authors remain protected. This issue is fixed in version 2.22.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.32841,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wp-graphql/wp-graphql/pull/4270","tags":["x_refsource_MISC"]},{"url":"https://github.com/wp-graphql/wp-graphql/commit/55441663eaa33c3f2e05de038c8286c845916461","tags":["x_refsource_MISC"]},{"url":"https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.22.2","tags":["x_refsource_MISC"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":6.57},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"wp-graphql","affectedVersions":[{"vendor":"wp-graphql","product":"wp-graphql","versions":["< 2.22.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-23T16:21:07.871440Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"wp-graphql/wp-graphql","vulnerableRanges":["<2.22.2"],"patched":[],"from":["GHSA-5mmc-8pc9-wggg"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-85310","exploited":false,"provenance":"source"}}