CVE-2025-7504: The Friends plugin for WordPress is vulnerable to PHP Object Injection in version 3.5.1 via deserialization of
CVE-2025-7504 is a high-severity flaw (CVSS 7.5) affecting friends. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Friends plugin for WordPress is vulnerable to PHP Object Injection in version 3.5.1 via deserialization of untrusted input of the query_vars 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 software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the si
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2025-07-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-7504?
friends: upgrade to 3.5.2. Exact commands for each OS are on this page.
Is CVE-2025-7504 being exploited?
CVE-2025-7504 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-7504 affect?
CVE-2025-7504 affects friends. Severity is high (CVSS 7.5). The Friends plugin for WordPress is vulnerable to PHP Object Injection in version 3.5.1 via deserialization of untrusted input of the query_vars parameter This makes it possible for authenticated attackers, with subscriber-level access and
How urgent is CVE-2025-7504?
Priority 45/100. High severity; Public exploit reference
Software pages
WordPress vulnerabilities · PHP vulnerabilities