Vulnerabilities / ElasticPress / WPSEC-2026-4629

ElasticPress <= 5.3.6 - Unauthenticated Sensitive Information Exposure via Related Posts REST API Endpoint

Medium 5.3 CWE-862Fixed in 5.3.7
ID
WPSEC-2026-4629
Plugin
ElasticPress (elasticpress)
Affected
from 3.2 before 5.3.7
Remediation
Update to 5.3.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-862
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
Attack surface
ElasticPress on WPSec AttackSurface
Fix released
Published

Description

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0