Skip to main content

BuddyPress CVE-2026-53674

| EUVDEUVD-2026-35878 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-06-10 disclosure@vulncheck.com GHSA-8q4w-j47q-pg4x
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Register low-privileged community account
  2. Delivery
    Craft @mention with regex metacharacters
  3. Exploit
    Submit activity post invoking mention resolver
  4. Execution
    esc_sql passes metacharacters into REGEXP clause
  5. Persist
    Boolean-infer usernames or trigger catastrophic backtracking
  6. Impact
    Leak user enumeration data or exhaust database workers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

Exploitation requires (1) the target site to be running BuddyPress 14.4.0 with the optional 'username compatibility mode' setting enabled - this is the explicit precondition called out in the description and is the primary limiting factor, since sites running the default mode do not reach the vulnerable REGEXP path; (2) an authenticated account with permission to post activity updates containing @mentions (CVSS PR:L), which on community sites with open registration is a trivial barrier but on closed/intranet BuddyPress deployments meaningfully restricts the attacker pool; and (3) the ability to embed regex metacharacters inside the @mention token so they survive esc_sql() and reach the unprepared REGEXP clause. No user interaction by a victim is required (UI:N), and no special platform or client is needed beyond a standard authenticated HTTP session.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H) indicates a network-reachable, low-complexity issue that requires only low-privilege authentication and no user interaction, with low confidentiality impact (username inference) and high availability impact (catastrophic-backtracking DoS against the database). Because BuddyPress activity posting typically requires only a registered community account, the PR:L barrier is very low on public community sites where self-registration is enabled, making this practically reachable. No EPSS score, KEV listing, or SSVC decision was supplied in the input, and no public exploit is identified at time of analysis - so widespread automated exploitation is not yet evidenced. A key conditional limiter is that the vulnerable code path is only reached when the site has 'username compatibility mode' enabled, which is not the default everywhere; defenders should verify that toggle before treating this as an immediate priority. The DoS impact is the most serious operational concern, since catastrophic backtracking inside a database REGEXP can stall worker threads and exhaust connection pools.

Exploit ScenarioDerived

An attacker registers (or uses) a low-privileged account on a BuddyPress-powered community site that has username compatibility mode enabled, then posts an activity update containing a crafted @mention whose username portion embeds regex metacharacters - for example, mentions whose body is a boolean-style pattern to infer whether usernames matching a prefix exist (oracle leakage), or a pathological pattern like '(a+)+$' to trigger catastrophic backtracking inside the MySQL REGEXP evaluation. Repeating the DoS payload across several posts can saturate database workers and degrade the entire WordPress site. No public POC has been published in the supplied references.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 10, 2026

Regex injection in BuddyPress 14.4.0's activity mention resolver allows authenticated WordPress users to manipulate a REGEXP clause against the users table when username compatibility mode is enabled, enabling boolean-based username inference and denial of service via catastrophic backtracking. CVSS 4.0 scores this 7.1 with low confidentiality impact and high availability impact, reflecting the dual data-leakage and DoS outcomes. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis in the supplied data - the references point to the BuddyPress project pages and the VulnCheck advisory (https://www.vulncheck.com/advisories/buddypress-regexp-injection-via-mention-username-resolution) rather than a fixed release. As an immediate compensating control, administrators should disable BuddyPress username compatibility mode in the BuddyPress settings, which removes the vulnerable REGEXP code path entirely; the trade-off is that sites whose legacy usernames contain spaces or special characters may lose @mention resolution for those accounts. Additional mitigations include restricting activity posting to vetted/verified members (disabling open self-registration to raise the PR:L barrier), placing a WAF rule that strips or rejects regex metacharacters inside @mention tokens (trade-off: may break legitimate mentions whose usernames contain '.' or '-'), and monitoring database for long-running REGEXP queries against the users table so backtracking DoS attempts can be terminated. Track https://wordpress.org/plugins/buddypress/ for a patched release above 14.4.0 and upgrade as soon as it is published.

Affected VersionsENISA

BuddyPress 0 ≤14.4.0

Affected Packages

euvd 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

BuddyPress is a widely deployed WordPress plugin that adds social-networking features (activity streams, mentions, groups) on top of WordPress sites. The affected component is the activity mention resolver, which parses @username tokens from user-submitted activity content and resolves them against the wp_users table. When the optional 'username compatibility mode' is enabled, mention strings are passed through WordPress's esc_sql() before being concatenated into an unprepared REGEXP query - but esc_sql() only handles SQL string-literal escaping and does not neutralize regular-expression metacharacters (e.g. ., *, +, ?, [, (, |). This maps to CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), where the query-language semantics (REGEXP) are subverted even though SQL string boundaries remain intact. The root cause is therefore a missing regex-escaping step (the MySQL/MariaDB REGEXP operator using POSIX-style expressions), not a classical SQL injection.

Know when the next one hits your stack

  • 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 (vulncheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

BuddyPress 14.4.0 contains a regular expression injection vulnerability in the activity mention resolver that, when username compatibility mode is enabled, allows attackers to manipulate a REGEXP database clause by crafting mention names containing regex metacharacters. Attackers can submit @mentions whose metacharacters pass through esc_sql unescaped and are inserted into an unprepared REGEXP query against the users table, enabling boolean-based inference of usernames and denial of service through catastrophic backtracking.

Executive ViewAI

Why It Matters

BuddyPress 14.4.0 contains a regex injection vulnerability requiring authenticated WordPress user access that enables both data disclosure through username inference and denial-of-service attacks via CPU exhaustion, with no public exploit identified at time of analysis. Organizations running this plugin face operational disruption and potential exposure of user account information when username compatibility mode is enabled.

Business Impact: High
Compensating Controls

Disable username compatibility mode in BuddyPress configuration to eliminate regex injection vector; restrict activity mention functionality to administrator role only; implement Web Application Firewall rules to block regex metacharacters in activity input; monitor database query execution time and CPU utilization for signs of catastrophic backtracking; consider disabling the mention resolver entirely until patch becomes available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Related Vulnerabilities in BuddyPress REST API Access Control Vulnerabilities

View all 3

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