Description
The BuddyPress plugin for WordPress is vulnerable to Deserialization of Untrusted Data in all versions up to, and including, 14.5.0 This is due to the `bp_unserialize_profile_field()` function using `@unserialize()` without the `allowed_classes` parameter on user-controlled XProfile field data. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary PHP objects via XProfile textbox fields, which could lead to remote code execution if a suitable POP chain is available in the WordPress environment.
References8
- owasp.org/www-community/vulnerabilities/PHP_Object_Injection
- plugins.trac.wordpress.org/browser/buddypress/tags/14.4.0/bp-xp…
- plugins.trac.wordpress.org/browser/buddypress/trunk/bp-xprofile…
- plugins.trac.wordpress.org/browser/buddypress/trunk/bp-xprofile…
- plugins.trac.wordpress.org/browser/buddypress/trunk/bp-xprofile…
- plugins.trac.wordpress.org/changeset?old_path=%2Fbuddypress/tag…
- www.php.net/manual/en/function.unserialize.php
- www.wordfence.com/threat-intel/vulnerabilities/id/467dd833-2f47…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 68 · as of 13 November 2026
- CWE
- CWE-502
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.