Unauthenticated Attackers Can Inject PHP Object via Deserialization in WPBeginner's Last Viewed Posts Plugin

Patch this weekFull system takeover over the network, no login needed.
9.8CRITICAL

CVE-2024-3070

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2024-3070
Vendor
CVE Published:
14 May 2024

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Last Viewed Posts By WPbeginner. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2024-3070?

The Last Viewed Posts plugin for WordPress, developed by WPBeginner, is susceptible to a PHP Object Injection vulnerability in all versions up to and including 1.0.0. This vulnerability arises from the deserialization of untrusted data from the LastViewedPosts Cookie, allowing unauthenticated attackers to inject arbitrary PHP objects. There is no known proof-of-concept (POP) chain directly related to this plugin; however, if it coexists with any additional vulnerable plugins or themes on the WordPress installation, it could potentially enable attackers to execute various malicious actions such as deleting arbitrary files, accessing sensitive information, or executing unauthorized code.

Affected Version(s)

Last Viewed Posts by WPBeginner 0 <= 1.0.0

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate Member😄9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration Aide👾9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

Francesco Carlucci
.