PHP Object Injection in Friends Plugin for WordPress
CVE-2025-7504
7.5HIGH
What is CVE-2025-7504?
The Friends plugin for WordPress is susceptible to a PHP Object Injection vulnerability due to improper handling of untrusted input in the query_vars parameter. This allows authenticated users with subscriber-level access or higher to inject malicious PHP Objects. The vulnerability itself does not pose a risk unless a vulnerable Object Property (POP) chain exists within other plugins or themes installed on the site. If such a chain is present, attackers could potentially execute harmful actions such as deleting files, accessing sensitive data, or executing arbitrary code depending on the specific POP chain utilized. Successful exploitation requires an attacker to obtain the site's SALT_NONCE and SALT_KEY.
Affected Version(s)
Friends 3.5.1