CVE-2026-120539
Deferred Deferred - Pending Action

Remote Code Execution in BuddyPress Restrictions Plugin

Vulnerability report for CVE-2026-120539, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
seventhqueen Restrictions for BuddyPress From 0 (inc) to 1.5.4 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Remote Code Execution flaw in the Restrictions for BuddyPress plugin for WordPress up to version 1.5.4. It allows unauthenticated attackers to execute arbitrary code on the server by injecting a payload into the request URI, which gets evaluated as PHP code due to improper handling of double-quoted strings.

Detection Guidance

Check if the BuddyPress Restrict plugin version is 1.5.4 or below. Inspect server logs for unusual GET requests containing PHP code injection patterns like {${...}} in the URI. Use commands like grep to search for eval() usage in plugin files.

Impact Analysis

An attacker could exploit this to take full control of your WordPress server, steal sensitive data, install malware, or disrupt your website. Since it requires no authentication and works by simply visiting a malicious URL, any unpatched site with the vulnerable plugin is at high risk.

Compliance Impact

This vulnerability could lead to a data breach, exposing personal or health data. For GDPR, it risks unauthorized access to EU citizens' data, potentially resulting in fines. For HIPAA, it may compromise protected health information, violating compliance requirements and leading to penalties.

Mitigation Strategies

Update the BuddyPress Restrict plugin to version 1.5.5 or later immediately. Disable the plugin temporarily if an update is not immediately possible. Review server access logs for signs of exploitation and block suspicious IPs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120539. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...