PHP Object Injection in Friends Plugin for WordPress
Key Information:
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
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 Friends. 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 "Check today"
- Its CVSS severity is high (7.5).
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
References
More WordPress Vulnerabilities
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Remote Code Execution in WP Duplicate Plugin
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction