Friends 3.5.1 - Authenticated (Subscriber+) PHP Object Injection

Deserialization of Untrusted Data
CVE CVE-2025-7504
CVSS High (7.5)
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

1 affected software package

Software Type Plugin
Software Slug friends (view on wordpress.org)
Patched? Yes
Affected Version
  • 3.5.1 - 3.5.1
Patched Version
  • 3.5.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.