Skip to main content

Restrictions for BuddyPress CVE-2026-120539

| EUVDEUVD-2026-131988 CRITICAL
Eval Injection (CWE-95)
2026-11-21 Wordfence GHSA-j47j-q6m5-x2fg
9.8
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify site running BuddyPress + PMPro + plugin
  2. Delivery
    Craft GET request with {${...}} in URI path
  3. Exploit
    URI interpolated into double-quoted eval() string
  4. Execution
    Code executes during PHP string interpolation
  5. Impact
    Arbitrary code runs as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target WordPress site have BuddyPress, Paid Memberships Pro, and the Restrictions for BuddyPress plugin (≤1.5.4) all active simultaneously; this is the concrete deployment prerequisite. Within that stack there are no further special conditions - the affected restriction-condition evaluation ships enabled by default and runs before any logged-in check, so no plugin configuration, authentication, or user interaction is needed, and a single unauthenticated GET request suffices. The sole limiting factor is the three-plugin co-installation requirement; sites missing BuddyPress or Paid Memberships Pro are not exploitable via this path.

Impact

All available signals point the same direction, making this a genuine high priority rather than an inflated CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated exploitation with no user interaction, and the description confirms the mechanism: the request URI is interpolated into a double-quoted PHP string and passed to eval() (CWE-95), triggered before any logged-in check, so a single GET request achieves arbitrary code execution. The vuln.today decision label is act_now, consistent with the 9.8 severity and the trivial trigger. No EPSS score was provided in the input, and the vulnerability is NOT listed in CISA KEV, so there is no confirmation of active, widespread exploitation - the urgency here rests on the ease and impact of exploitation (code-injection with complete C/I/A loss), not on observed in-the-wild activity. The one factor that narrows real-world exposure is a deployment prerequisite: the flaw is only reachable when BuddyPress and Paid Memberships Pro are both active alongside this plugin, which reduces the vulnerable population without reducing per-host severity. Net: treat as an urgent patch for any site running the vulnerable stack, while noting that exploitation probability data (EPSS) and KEV confirmation are absent.

Exploit ScenarioDerived

An unauthenticated attacker sends a single crafted GET request whose URL path contains a PHP interpolation payload of the form {${...}}; because the plugin splices the request URI into a double-quoted string that is then eval()'d, the payload executes during string interpolation and runs arbitrary code on the server. Given AV:N/AC:L/PR:N/UI:N, this requires no login, no user interaction, and no quote breakout, and WordPress' input slashing does not mitigate it. No verified working public exploit code was identified at time of analysis, though a Wordfence advisory and the exact vulnerable source lines are publicly referenced.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 2.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Unauthenticated remote code execution in the Restrictions for BuddyPress WordPress plugin (all versions through 1.5.4) allows any anonymous visitor to execute arbitrary PHP on the server with a single GET request, because the plugin splices the attacker-controlled request URI into a double-quoted PHP string that is then passed to eval(). The vulnerable restriction-condition evaluation ships enabled by default and runs before any logged-in check, so no plugin configuration, credentials, or user interaction is required; the only prerequisite is that the site also runs BuddyPress and Paid Memberships Pro. SeventhQueen fixed the flaw in release 1.5.5 and the upstream release notes state that sites should update immediately; no public exploit code has been identified at time of analysis, but the priority signal for this CVE is act_now.

RemediationAI

Vendor-released patch: 1.5.5 - update the Restrictions for BuddyPress plugin to 1.5.5 (or later) from the WordPress.org plugin directory or from the upstream release at https://github.com/seventhqueen/buddypress-restrict/releases/tag/1.5.5, whose notes state that request data is no longer part of evaluated code and that logged-in-only restrictions are now skipped for guests, and instruct sites to update immediately. Because the injected URI is evaluated before authentication and with default settings, there is no configuration toggle inside the plugin that closes the hole on a vulnerable version; if 1.5.5 cannot be deployed immediately, the direct compensating control is to deactivate the Restrictions for BuddyPress plugin, which removes the vulnerable evaluation path at the cost of losing its BuddyPress/Paid Memberships Pro restriction functionality, or alternatively to remove one of the three required dependencies (BuddyPress or Paid Memberships Pro) from the running stack, since the flaw is only reachable when this plugin, BuddyPress, and Paid Memberships Pro are all active together. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/fab68c0b-2211-4cc4-a112-f0011f9d72ed?source=cve should be used to confirm fix status for any custom or delayed deployment.

Affected VersionsENISA

Restrictions for BuddyPress 0 ≤1.5.4

Affected Packages

euvd restrictions_for_buddypress no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-95 (improper neutralization of directives in dynamically evaluated code, i.e. eval injection) in a PHP WordPress plugin. Restrictions for BuddyPress builds restriction conditions by embedding request data - specifically the request URI - inside a double-quoted PHP string, and that string is later passed to eval(). PHP's double-quoted string syntax performs interpolation at evaluation time, so a payload using the {${...}} form in the URL path is executed while the string is being interpolated, before eval() is even reached. Because no quote characters are needed to break out of the string literal, WordPress' magic-quotes/slashing of superglobals (wp_magic_quotes) has nothing to strip and does not mitigate the attack. The affected code paths are visible in the WordPress.org plugin Trac for tag 1.5.4, notably includes/class-bp-restrict.php lines 172 and 210, admin/class-bp-restrict-pmpro.php lines 184 and 187, and admin/class-bp-restrict-admin.php line 213, which is consistent with restriction-condition evaluation being wired into the Paid Memberships Pro integration and the general condition evaluator. The upstream 1.5.5 release notes confirm the mechanism, stating that unauthenticated PHP code injection via the request URI in restriction condition evaluation was fixed by taking request data out of evaluated code and by skipping logged-in-only restrictions for guests.

Know when Restrictions For Buddypress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Unauthenticated remote code execution via a single GET request against a default-enabled code path gives AV:N/AC:L/PR:N/UI:N with full C/I/A loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical unauthenticated remote code execution vulnerability in the Restrictions for BuddyPress WordPress plugin (all versions through 1.5.4) allows any anonymous visitor to execute arbitrary PHP on the server with a single GET request, provided the site also runs BuddyPress and Paid Memberships Pro. This puts the entire WordPress instance and underlying server at risk, potentially leading to full compromise of confidentiality, integrity, and availability. Leadership must act immediately because exploitation requires no credentials, no user interaction, and the vulnerable feature is enabled by default.

Business Impact: Severe
Compensating Controls

Vendor-released patch: 1.5.5

Threat Intelligence Overview

EPSS Score
2.2%
Top 17% exploitable
Prevalence
Low
niche WordPress plugin requiring BuddyPress plus Paid Memberships Pro stack
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 2.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy