WordPress plugins
CVE-2026-120539
Restrictions for BuddyPress <= 1.5.4 - Unauthenticated Remote Code Execution via Request URI String Interpolation in eval()
- Severity
- Critical 9.8
- Published
- 21 Nov 2026
- Last changed
- 21 Nov 2026
- Added to UpHeron
- 21 Nov 2026
- Weakness
- Eval injection (CWE-95)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
Bp Restrict (WordPress plugin)WordPress plugins · wp-plugin:bp-restrict |
|
About Restrictions for BuddyPress
Restrict BuddyPress profiles, groups, activity, and messages by login status, membership level, or profile field.
- Active installations
- 300+WordPress.org, 21 Nov 2026
- Latest version
- 1.5.5WordPress.org, 21 Nov 2026
- Last updated
- 18 Nov 2026WordPress.org
- Rating
- 5.0 out of 5 (4 ratings)WordPress.org, 21 Nov 2026
- Requires WordPress
- 5.0WordPress.org
- Requires PHP
- 7.4WordPress.org
- Tested up to WordPress
- 7.1.5WordPress.org
- Author
- SeventhQueenWordPress.org
- In the directory since
- 4 Jun 2018WordPress.org
This is the only vulnerability in Restrictions for BuddyPress in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120539