CVE-2024-0592
Description
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.
Affected WordPress components
-
Related Posts for WordPress Plugin · related-posts-for-wpUp to and including 2.2.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- barrykooij Related Posts for WordPress — Up to and including 2.2.1
- never5 related_posts — Before 2.2.2
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/related-posts-for-wp/trunk/classes/hooks/class-hook-link-related-screen.php#L70 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3049719/related-posts-for-wp/tags/2.2.2/classes/hooks/class-hook-link-related-screen.php Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/5d21aad7-dbee-4204-afbd-0a5fdeaca50e?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record