What the vulnerability does
01Description
The Last Viewed Posts by WPBeginner plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.0.0 via deserialization of untrusted input from the LastViewedPosts Cookie. This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.
Explanation of Vulnerability in Simple Terms
02Summary
The Last Viewed Posts by WPBeginner plugin for WordPress contains a deserialization vulnerability in versions up to 1.0.0. An attacker can send a specially crafted request over the network to deserialize untrusted data, leading to arbitrary code execution on the site. No authentication or user interaction is required to exploit this vulnerability.
What an attacker can do
03Attacker Capabilities
Run arbitrary PHP code on the site without authentication.
Potential impact on your site
04Site Impact
Complete compromise of the WordPress site, including data theft, malware installation, and site takeover.
Conditions required to exploit
05Prerequisites
Network access to the WordPress site; no authentication or user interaction needed.
Key dates
06Disclosure timeline
May 9, 2024
CVE published
April 8, 2026
Record updated