CVE-2026-53674: BuddyPress regex injection in activity mention resolver

CVE-2026-53674 · Severity: high · CVSS 7.1 · Published 2026-06-10

BuddyPress, a popular social networking plugin for WordPress, contains a security flaw in how it handles user mentions (e.g., @username). When a specific compatibility setting is enabled, attackers can use special characters in mentions to probe for private usernames or crash the website's database. This could lead to a loss of privacy for site members or a total service outage for the community platform.

Technologies: BuddyPress. Vendors: BuddyPress.

Quick answers

Is CVE-2026-53674 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-53674 being exploited in the wild.
How severe is CVE-2026-53674?
High severity, with a CVSS score of 7.1, published 10 June 2026.
Which products and versions are affected?
BuddyPress 14.4.0.
Is there a fix for CVE-2026-53674?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-53674 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-53674?
Check whether you run BuddyPress at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A regular expression (regex) injection vulnerability exists in the BuddyPress activity mention resolver component. When 'username compatibility mode' is active, the plugin fails to properly sanitize regex metacharacters in @mentions before they are passed to an 'esc_sql' function and subsequently used in a REGEXP database query. An authenticated attacker can exploit this by crafting mentions that trigger catastrophic backtracking, leading to a Denial of Service (DoS) via database CPU exhaustion. Additionally, the flaw allows for boolean-based inference to discover valid usernames that might otherwise be hidden. The vulnerability is present in version 14.4.0.

Affected products

  • BuddyPress BuddyPress 14.4.0

Timeline

  • 2026-06-10: disclosed: CVE published to NVD dataset

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.