---
id: CVE-2026-119702
title: WPGraphQL before 2.24.1 Missing Authorization via createComment Mutation
summary: >-
  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 d…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-862
vendor: WPGraphQL
product: WPGraphQL
affected:
  - WPGraphQL < 2.24.1
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-30T15:34:09.637411Z'
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T15:39:13.528Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119702'
references:
  - url: >-
      https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-4vgv-vvxr-9fh9
    label: GitHub Security Advisory (GHSA-4vgv-vvxr-9fh9)
  - url: >-
      https://github.com/wp-graphql/wp-graphql/commit/b9da32bd8e6025e19a9b04acaa129978eba71177
  - url: >-
      https://github.com/wp-graphql/wp-graphql/blob/wp-graphql/v2.24.0/plugins/wp-graphql/src/Mutation/CommentCreate.php
  - url: 'https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.24.1'
    label: WPGraphQL wp-graphql/v2.24.1 Release Notes
  - url: 'https://github.com/wp-graphql/wp-graphql'
  - url: >-
      https://www.vulncheck.com/advisories/wpgraphql-before-2.24.1-missing-authorization-via-createcomment-mutation
    label: >-
      VulnCheck Advisory: WPGraphQL before 2.24.1 Missing Authorization via
      createComment Mutation
tags:
  - cve.org
epss: 0.00361
epssPercentile: 0.30091
ingestedAt: '2026-11-05T16:07:30.438Z'
---

## Overview

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

- `WPGraphQL < 2.24.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
