CVE-2026-109979

Related Posts for WordPress <= 3.0.0 - Missing Authorization to Authenticated (Contributor+) Sensitive Information Exposure via 'rp4wp_create_link' Parameter

Published Oct 28, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
The Related Posts for WordPress plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 3.0.0 via the 'rp4wp_create_link' parameter of the hidden 'rp4wp_link_related' admin page. The handle_create_link() handler verifies the nonce and that the current user can edit the parent post, but never checks that the attacker-supplied child post ID is one the user is allowed to read; LinkRepository::insert() stores the arbitrary child ID without validation, and ManageLinks::render() later calls LinkRepository::get_children() in its no-extra-args fast path, which falls through to array_map('get_post', $child_ids) — bypassing read_private_posts/read_post capability checks — and then echoes esc_html($child->post_title) in the parent's editor meta box. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the titles of arbitrary non-public posts (drafts, pending, private, future, trashed) authored by higher-privileged users by linking those post IDs to a draft they own and then reading the resulting meta box.

Analysis

AI-generated

Technical impact

The Related Posts for WordPress plugin allows authenticated users with Contributor or higher permissions to create custom links between posts via a hidden admin page that processes the parameter 'rp4wp_create_link'. The plugin verifies that the user can edit the parent post but does not verify that the child post ID supplied by the attacker is readable by that user. By inserting an arbitrary post ID as the child and later rendering the link titles, an editor can view the title of any non‑public post, including drafts, pending, private, future, or trashed posts authored by users with higher privileges. This exposes sensitive content that should otherwise be hidden.

Affected Systems

The vulnerability exists in all releases of the Related Posts for WordPress plugin up through version 3.0.0. Sites with these older plugin versions and users granted Contributor-level or higher access to the WordPress admin area are impacted.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity. No EPSS score is available, and the vulnerability is not listed in CISA KEV, which suggests no high‑profile exploits have been documented. The flaw requires only authenticated Contributor‑level access, so an attacker who can add content can exploit the vulnerability. The exploit does not provide code execution, database access, or server compromise; it only retrieves post titles that would normally be hidden, thereby compromising confidentiality of unpublished content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Related Posts for WordPress plugin to the latest available version, which removes the child post ID validation flaw.
  • If an immediate update is not possible, disable or remove the hidden 'rp4wp_link_related' admin page for users below the Administrator role to prevent link creation.
  • Add a custom code snippet to the theme’s functions.php or a custom plugin that checks whether the current user can read the child post ID before allowing the link creation, thereby enforcing proper read access.

Generated by OpenCVE AI on October 28, 2026 at 08:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Barrykooij
Barrykooij related Posts For Wordpress
Wordpress-extensions
Wordpress-extensions related Posts For Wordpress
Vendors & Products Barrykooij
Barrykooij related Posts For Wordpress
Wordpress-extensions
Wordpress-extensions related Posts For Wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Related Posts for WordPress plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to, and including, 3.0.0 via the 'rp4wp_create_link' parameter of the hidden 'rp4wp_link_related' admin page. The handle_create_link() handler verifies the nonce and that the current user can edit the parent post, but never checks that the attacker-supplied child post ID is one the user is allowed to read; LinkRepository::insert() stores the arbitrary child ID without validation, and ManageLinks::render() later calls LinkRepository::get_children() in its no-extra-args fast path, which falls through to array_map('get_post', $child_ids) — bypassing read_private_posts/read_post capability checks — and then echoes esc_html($child->post_title) in the parent's editor meta box. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the titles of arbitrary non-public posts (drafts, pending, private, future, trashed) authored by higher-privileged users by linking those post IDs to a draft they own and then reading the resulting meta box.
Title Related Posts for WordPress <= 3.0.0 - Missing Authorization to Authenticated (Contributor+) Sensitive Information Exposure via 'rp4wp_create_link' Parameter
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 29, 2026, 1:41 AM
Reserved
Oct 13, 2026, 11:58 AM
Status
Deferred
Published
Oct 28, 2026, 7:16 AM
Modified
Oct 29, 2026, 2:16 AM