What the vulnerability does
01Description
The Social Media Share Buttons plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 2.1.0 via deserialization of untrusted input through the attachmentUrl parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, 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. CVE-2024-2721 is likely a duplicate to this issue.
Explanation of Vulnerability in Simple Terms
02Summary
Social Media Share Buttons versions 2.1.0 and earlier contain a deserialization vulnerability that allows authenticated users to execute arbitrary code on the site. An attacker with low-level access can craft malicious serialized data that, when processed by the plugin, runs their own PHP code with full site privileges. This affects all installations using the vulnerable version range.
What an attacker can do
03Attacker Capabilities
Run arbitrary PHP code on the site with full administrative privileges.
Potential impact on your site
04Site Impact
Any authenticated user can compromise the entire site, steal data, modify content, or install backdoors.
Conditions required to exploit
05Prerequisites
Attacker must have a low-level authenticated account (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
March 16, 2024
CVE published
April 8, 2026
Record updated