Friends 3.5.1 - Authenticated (Subscriber+) PHP Object Injection

7.5
Deserialization of Untrusted Data
CVE CVE-2025-7504
CVSS 7.5 (High)
Publicly Published July 11, 2025
Last Updated July 12, 2025
Researcher Pham Nguyen Khoa

Description

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 site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present. This requires access to the sites SALT_NONCE and and SALT_KEY to exploit.

References

Share

Vulnerability Details for Friends

Software Type Plugin
Software Slug friends (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.5.2, or a newer patched version
Affected Version
  • 3.5.1
Patched Version
  • 3.5.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation