Low · 1.0 WordPress CVE-2026-120413
Yoast SEO Plugin Flaw Exposes Private Post Metadata to Unauthenticated Users
A vulnerability in the Yoast SEO WordPress plugin before version 28.9 allows unauthenticated users who know or guess a URL to retrieve SEO metadata—including title, author, publication date, and an excerpt—of private posts, pages, or custom post types via a public REST endpoint.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been identified in the Yoast SEO WordPress plugin, a widely used tool for search engine optimization on WordPress sites. The issue, tracked as CVE-2026-120413, affects versions before 28.9 and allows unauthenticated visitors to access SEO metadata for content that should remain private, provided they know or can guess the relevant URL.
What Happened
The Yoast SEO plugin for WordPress, before version 28.9, does not verify whether content is publicly viewable before exposing its SEO metadata through a public REST endpoint. As a result, unauthenticated users who know or can guess the URL of a private post, page, or custom post type item can read its title, author, publication date, and an excerpt of its content.
Technical Cause
The root cause is a missing visibility check in the REST endpoint that serves SEO metadata. The endpoint returns this metadata regardless of whether the associated content is set to private, allowing data that should be restricted to authenticated or authorized users to be retrieved by anyone with knowledge of the content's URL.
Who Is Affected
Any WordPress site running the Yoast SEO plugin in a version before 28.9 is affected, specifically sites that rely on private posts, pages, or custom post types to restrict content visibility.
Affected Versions
All versions of Yoast SEO before 28.9 are affected by this issue.
Fixes and Mitigation
The issue is resolved in Yoast SEO version 28.9. Site owners should update the plugin to version 28.9 to ensure private content is no longer exposed through the affected REST endpoint.
Recommended Action
Update the Yoast SEO plugin to version 28.9 as soon as possible. If immediate updating is not feasible, review which posts, pages, or custom post types are marked private and consider the exposure risk until the update is applied.
PatchBriefing score
1.0 / 10 · Low
Official CVSS: 0.0
EPSS 0.0020 (6 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- Yoast SEO < 28.9
- vulnerable
- ≥ 28.9
- patched
Reported fixes
The issue is resolved in Yoast SEO version 28.9. Site owners should update the plugin to version 28.9 to ensure private content is no longer exposed through the affected REST endpoint.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
CVE.org database
-
NVD (NIST) database
-
WPVulnerability database
Revision history
- Published
- Generated