CVE-2024-0592 MEDIUM

CVE-2024-0592: Related Posts for WordPress <= 2.2.1 - Cross-Site Request Forgery

Vendor Barrykooij
Product Related Posts for WordPress
Weakness CWE-352 · CSRF
Published March 13, 2024
Last update April 8, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

The Related Posts for WordPress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.2.1. This is due to missing or incorrect nonce validation on the handle_create_link() function. This makes it possible for unauthenticated attackers to add related posts to other posts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. This ultimately makes it possible for attackers to view draft and password protected posts.

Explanation of Vulnerability in Simple Terms

02Summary

The Related Posts for WordPress plugin through version 2.2.1 contains a cross-site request forgery (CSRF) vulnerability. An attacker can craft a malicious webpage that, when visited by a logged-in site administrator, performs unwanted actions on the plugin's settings or functionality without the administrator's knowledge or consent. This requires the admin to visit the attacker's page while logged into WordPress.

What an attacker can do

03Attacker Capabilities

Trick a logged-in admin into performing unwanted plugin actions via a malicious webpage.

Potential impact on your site

04Site Impact

Plugin settings or functionality could be altered without your knowledge if an admin visits a malicious link.

Conditions required to exploit

05Prerequisites

Admin must visit attacker-controlled page while logged into WordPress.

Key dates

06Disclosure timeline

March 13, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE