CVE-2026-120539 Details
Description
The Restrictions for BuddyPress plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.5.4 This is due to the plugin splicing the attacker-controlled request URI into a PHP expression inside a double-quoted string and evaluating it with eval(). Because PHP interpolates double-quoted strings, a payload of the form {${...}} in the URL path is executed during interpolation, so no quote breakout is required and WordPress' slashing does not mitigate it. This makes it possible for unauthenticated attackers to execute arbitrary code on the server with a single GET request. The affected conditions ship enabled by default and are evaluated before any logged-in check, so no plugin configuration is needed; the site must have BuddyPress and Paid Memberships Pro active alongside this plugin.
A remote code execution vulnerability exists in the Restrictions for BuddyPress WordPress plugin, affecting all versions through 1.5.4. The issue arises because the plugin injects attacker-controlled request URIs into a PHP expression within double-quoted strings, which are then executed using eval(). This exploitation takes advantage of PHP's string interpolation, allowing a payload formatted as {${...}} in the URL path to be executed without needing to break out of quotes. WordPress' slashing does not provide any mitigation. As a result, unauthenticated attackers can execute arbitrary code on the server with a single GET request. The vulnerable conditions are enabled by default and are processed before any logged-in checks, requiring no additional plugin configuration. This vulnerability is present when BuddyPress and Paid Memberships Pro are active alongside the Restrictions for BuddyPress plugin.
Users are advised to update the Restrictions for BuddyPress plugin to version 1.5.5 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| seventhqueen Restrictions for BuddyPress | <= 1.5.4 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion