{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4629",
 "modified": "2026-12-04T15:47:21Z",
 "published": "2026-12-04T15:47:21Z",
 "summary": "ElasticPress <= 5.3.6 - Unauthenticated Sensitive Information Exposure via Related Posts REST API Endpoint",
 "details": "The ElasticPress plugin for WordPress is vulnerable to Sensitive Information Exposure via the Related Posts REST API endpoints (elasticpress/v1/related-posts/<id> and wp/v2/posts/<id>/related) in all versions up to, and including, 5.3.6, due to a permission callback that always allowed access and no check that the requested post is viewable. This makes it possible for unauthenticated attackers to request related posts for any post ID. When Protected Content indexes drafts and private posts, this reveals that those posts exist and which published content they resemble.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "elasticpress"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.2"
      },
      {
       "fixed": "5.3.7"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.2 before 5.3.7"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4629/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/elasticpress/tags/5.3.7/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/elasticpress/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4629/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "SENSITIVE DATA DISCLOSURE",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
