CVE-2026-120539 — seventhqueen Restrictions for BuddyPress
Research article
Restrictions for BuddyPress WordPress plugin up to 1.5.4: unauthenticated remote code execution via eval injection
| CVE | CVE-2026-120539 |
|---|---|
| Vendor and product | seventhqueen Restrictions for BuddyPress |
| Published | November 21, 2026 07:50 UTC |
| Research cut-off | November 21, 2026 07:45 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-21); CISA KEV catalog |
Executive summary
CVE-2026-120539 is an eval injection flaw (CWE-95) in the Restrictions for BuddyPress WordPress plugin by seventhqueen, in which request URI data is placed into a PHP double-quoted string that is passed to eval() [1]. The CVE record lists all versions up to and including 1.5.4 as affected [1]. The only CVSS score in the pack is 9.8 Critical under CVSS 3.1 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, scored by Wordfence [1]. According to the record, exploitation needs only one unauthenticated HTTP GET request, no user interaction and no plugin configuration, but BuddyPress and Paid Memberships Pro must both be active on the site [1]. The CISA KEV catalog did not list the CVE as of 2026-11-21, which does not show that it has not been exploited [2]. The pack contains no exploitation report or public proof of concept. The most important immediate action is to identify every site running the plugin at 1.5.4 or earlier and deactivate it until a fixed version is confirmed [1].
Key points
- CVE-2026-120539 is an eval injection flaw (CWE-95) in Restrictions for BuddyPress, affecting all versions up to and including 1.5.4 [1].
- CVSS 3.1 base score 9.8 Critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, scored by Wordfence [1].
- Per the record, no authentication or user interaction is needed, but BuddyPress and Paid Memberships Pro must be active [1].
- Not listed in CISA KEV as of 2026-11-21 [2]; the pack shows no confirmed exploitation or public proof of concept.
- The record does not state a fixed version; release 1.5.5 is referenced and must be confirmed [1].
Vulnerability identification
| Field | Detail |
|---|---|
| CVE ID | CVE-2026-120539 [1] |
| Vendor | seventhqueen [1] |
| Product | Restrictions for BuddyPress, a WordPress plugin [1] |
| Component | Files cited in the record's references: admin/class-bp-restrict-admin.php, admin/class-bp-restrict-pmpro.php and includes/class-bp-restrict.php [1] |
| Published / last modified | 2026-11-21T06:16:33 / 2026-11-21T06:16:33 [1] |
| Record status | Deferred [1] |
| CWE | CWE-95, Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') [1] |
| CVSS 3.1 base score | 9.8, Critical [1] |
| CVSS 3.1 vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H [1] |
| Scorer | security@wordfence.com (Primary) [1] |
| CISA KEV | Not listed as of 2026-11-21 [2] |
The pack contains one CVSS score, so no scoring conflict exists. CWE-95 covers code that takes externally influenced text and passes it to a dynamic evaluation routine without neutralizing it, so the input ends up executed as code [1] (Analyst assessment, based on the CWE name). The record references a Wordfence threat intelligence entry [1], but its content is not in the pack.
Vulnerability description
The record states that the plugin builds a PHP expression by inserting request URI data into a double-quoted string and then passes that expression to eval() [1]. PHP expands variable syntax inside double-quoted strings, so a crafted segment in the URL path is evaluated during string construction, without needing to break out of the quotes. The record adds that WordPress slashing does not mitigate this [1]. Because the affected code runs before any logged-in check, an unauthenticated visitor can reach it [1].
The violated security property is integrity of the server's execution environment. The record and its CVSS vector describe high impact to confidentiality, integrity and availability with an unchanged scope [1]. The record does not establish which function context runs the injected code, what a specific payload can do, or whether data was accessed [1].
Root cause: Confirmed by the record's description, untrusted request data reaches eval() through string interpolation without neutralization [1]. Analyst assessment: the defect is the decision to evaluate a string built from request data at all. Escaping the input does not remove the risk, because interpolation is itself an evaluation step, which is consistent with the record's note about slashing [1].
Attack surface and exploitation prerequisites
| Factor | Requirement | Basis |
|---|---|---|
| Network access | Remote network access (AV:N) | Vector [1] |
| Adjacent, local or physical access | Not required | Vector [1] |
| Authentication | None (PR:N) | Vector [1] |
| User interaction | None (UI:N) | Vector [1] |
| Attack complexity | Low (AC:L) | Vector [1] |
| Plugin configuration | None; the conditions are enabled by default | Record description [1] |
| Required co-installed components | BuddyPress and Paid Memberships Pro must be active alongside this plugin | Record description [1] |
| Request type | One HTTP GET request to a crafted URL path | Record description [1] |
The vector shows the network, authentication, interaction and complexity values. The dependency on BuddyPress and Paid Memberships Pro, and the default-enabled state, come from the record description, not the vector [1]. Whether ordinary site routing delivers a crafted path to the affected code is not described by the record.
Impact analysis
| Area | Technically stated | Plausible downstream consequence (Analyst assessment) |
|---|---|---|
| Confidentiality | High per vector [1] | Read access to site files and database contents under the web server account, not demonstrated in the pack |
| Integrity | High per vector [1] | Modification of site files, plugins or content, not demonstrated |
| Availability | High per vector [1] | Site takedown or disruption, not demonstrated |
| Authentication and authorization | Bypassed, since no credentials are required [1] | Attacker gains server-side code execution without a WordPress account |
| Privilege boundary | Scope unchanged per vector [1] | Impact is confined to what the web server process can reach, unless a further flaw is used |
| Data and privacy | Not stated by the record | Member data handled by Paid Memberships Pro could be exposed if the attacker reaches it |
| Regulatory or contractual | Not addressed by the pack | Depends on the data a site holds |
Affected products and versions
| Vendor | Product | Affected versions | Fixed version | Source and qualification |
|---|---|---|---|---|
| seventhqueen | Restrictions for BuddyPress (WordPress plugin) | All versions up to and including 1.5.4 [1] | Not stated in the record. A release tag 1.5.5 is referenced from the vendor's GitHub repository [1], but the pack does not confirm that it fixes this flaw | CVE record published by the CVE Numbering Authority, per NVD [1] |
No configuration-specific exclusions or other version ranges are published in the pack.
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: not established by the pack.
- CISA KEV: not listed as of 2026-11-21 [2]. The catalog was read in full, but absence from it is not evidence that exploitation has not occurred [2].
- Public proof of concept: no exploit reference appears in the record's reference list [1] or elsewhere in the pack.
- Threat actors, campaigns and targeted sectors: none attributed in the pack.
- Record status: Deferred [1]. The pack does not explain what this status implies for analysis or scoring.
Analyst assessment: an unauthenticated, network-reachable, low-complexity flaw with a Critical score warrants urgent action on affected sites, regardless of its exploitation status.
Detection and exposure assessment
- Inventory: on each WordPress installation, run from the WordPress root: wp plugin get bp-restrict --field=version. Then run wp plugin get bp-restrict --field=status. Prerequisite: WP-CLI is installed. The slug bp-restrict is taken from the record's reference paths [1] and should be confirmed with wp plugin list. Expected output: a version string, and active or inactive. A version of 1.5.4 or earlier means the site is in the affected range [1]; the check does not prove exploitation.
- Dependencies: in the WordPress Plugins screen, check whether BuddyPress and Paid Memberships Pro are active [1]. The pack gives no slugs for these plugins. Sites without both active may not reach the affected code [1].
- Access logs: search web server access logs for GET requests whose path contains the characters '{$' (Analyst assessment, derived from the form of payload the record describes [1]). The pack gives no indicator of compromise. This search can produce false positives and misses encoded variants.
- Limitations: the pack contains no file hashes, domains, IP addresses or log event IDs [1][2]. Any match must be investigated, not treated as proof of compromise.
Remediation
Immediate mitigation:
- Deactivate the plugin on sites running 1.5.4 or earlier. Protects against: the vulnerable code path, since the plugin is the affected component [1]. Side effects: the restriction rules stop applying, which may change content visibility. Verify: wp plugin get bp-restrict --field=status returns inactive. Basis: Analyst assessment that follows from the plugin's role in the affected component, not a vendor instruction.
- If deactivation is not possible, add a web application firewall rule that blocks request paths containing '{$' (Analyst assessment). Limitations: encoded or alternate forms may bypass it and legitimate traffic may be blocked. Verify: review the rule in the WAF configuration and confirm that blocked events appear in its logs.
Permanent fix:
- Update to a version later than 1.5.4. The record does not state the fixed version; release 1.5.5 is referenced [1]. Confirm the fixed version in the vendor's release notes before deployment. Verify: wp plugin get bp-restrict --field=version returns a version later than 1.5.4.
- Before updating, back up the plugin directory and the database. Rollback: restore the backed-up plugin directory and reactivate the plugin.
- After updating, confirm the code at the lines the record cites no longer evaluates request-derived strings (recommended hardening, Analyst assessment).
- If no fixed version is confirmed, remove the plugin rather than leave it active.
Workarounds and compensating controls
Deactivation and filtering reduce exposure but are not equivalent to a fixed release. Filtering depends on matching a request form the pack describes only in general terms, and deactivation changes site behaviour. Both are interim measures until a confirmed fixed version is installed.
Remediation checklist
- Inventory every WordPress site for the plugin by running wp plugin get bp-restrict --field=version and confirming the slug with wp plugin list; versions up to and including 1.5.4 are affected [1].
- On sites running 1.5.4 or earlier, deactivate the plugin now and verify with wp plugin get bp-restrict --field=status that it returns inactive (Analyst assessment).
- If deactivation is not possible, add a web application firewall rule blocking request paths that contain '{$', then confirm the rule's blocked events in its logs (Analyst assessment; encoded variants may bypass it).
- Confirm the fixed version with the vendor, since the record references release 1.5.5 but does not state a fix [1].
- Back up the plugin directory and database, update to the confirmed fixed version, and verify with wp plugin get bp-restrict --field=version.
- Search web server access logs for GET requests whose paths contain '{$' (Analyst assessment, derived from the record's description [1]); investigate any match, since the pack provides no indicators of compromise.
- Confirm whether BuddyPress and Paid Memberships Pro are active on each affected site, since the record requires both [1].
- If a match is found, isolate the site and investigate for unexpected PHP files and new administrative accounts before restoring service (Analyst assessment).
- Re-check the plugin version and status after the update and after any WAF change, and record the results for each site.
- If no fixed version is confirmed, remove the plugin rather than leave it active (Analyst assessment).
Evidence gaps
- Not established by the reviewed sources: the fixed version. The record references release 1.5.5 but does not state that it fixes this flaw; the vendor's advisory or release notes would settle it [1].
- Not established by the reviewed sources: the exact vulnerable function and code. The record cites line references in three files, but their contents are not in the pack; the vendor source at the cited tag would settle it [1].
- Not established by the reviewed sources: whether the flaw has been exploited in the wild. CISA KEV did not list the CVE as of 2026-11-21, which does not settle the question [2].
- Not established by the reviewed sources: a public proof of concept or exploit reference. No exploit reference appears in the pack; a search of public exploit repositories would be needed [1].
- Not established by the reviewed sources: indicators of compromise. The pack provides none, so the access log search is an analyst heuristic, not a source-provided indicator [1].
- Not established by the reviewed sources: the EPSS score for this CVE. The pack does not include one.
- Not established by the reviewed sources: what the record's Deferred status means for analysis or scoring. The Wordfence threat intelligence entry it references is not in the pack [1].
- Not established by the reviewed sources: whether standard WordPress routing delivers crafted URL paths to the affected code. Testing on a non-production copy of the site would settle it, and no such test has been performed.
- Not established by the reviewed sources: the plugin slug and the slugs for BuddyPress and Paid Memberships Pro. These need confirmation on the target systems.
References
- CVE-2026-120539 record. NIST National Vulnerability Database (NVD), 2026-11-21. https://nvd.nist.gov/vuln/detail/CVE-2026-120539. Accessed 2026-11-21.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-21. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-21.
Summary
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.
Severity breakdown
Critical · 9.8
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| seventhqueen Restrictions for BuddyPress | ≤ 1.5.4 | — |
References by type
Patches and fixed releases
Other references
Affected
- seventhqueen Restrictions for BuddyPress
Frequently asked questions
What is CVE-2026-120539?
CVE-2026-120539 is an eval injection flaw (CWE-95) in the Restrictions for BuddyPress WordPress plugin by seventhqueen, in which request URI data is placed into a PHP double-quoted string that is passed to eval(). The CVE record lists all versions up to and including 1.5.4 as affected. Weakness type: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (CWE-95).
How severe is CVE-2026-120539?
CVE-2026-120539 has a CVSS 3.1 base score of 9.8 (critical), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-120539 being exploited?
Not as far as is known: CVE-2026-120539 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 2.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-120539?
seventhqueen Restrictions for BuddyPress ≤ 1.5.4.
How do I fix CVE-2026-120539?
Inventory every WordPress site for the plugin by running wp plugin get bp-restrict --field=version and confirming the slug with wp plugin list; versions up to and including 1.5.4 are affected. On sites running 1.5.4 or earlier, deactivate the plugin now and verify with wp plugin get bp-restrict --field=status that it returns inactive (Analyst assessment). If deactivation is not possible, add a web application firewall rule blocking request paths that contain '{$', then confirm the rule's blocked events in its logs (Analyst assessment; encoded variants may bypass it).
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-126756 — webilia Listdom: AI-powered Business Directory with Classifieds Ads Listings
- Pelican 4.12.0 OS Command Injection Vulnerability
- CVE-2026-143968 — Retainful - WooCommerce Abandoned Cart Recovery, Email Campaigns, Newsletters, Signup Forms & Popups
- CVE-2026-143961 — Michael Finkenberger Foodle Add-on for Democracy Poll
- CVE-2026-141455 — xylus WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar