Read the docs

Unauthenticated local file inclusion in BP Profile Search plugin

Priority LOW 39CWE-98Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-98.

Summary

The BP Profile Search plugin for WordPress is affected in versions up to and including 5.9. The plugin takes a value from the client-controlled bps_directory cookie, appends .php, and passes it to a template loader without validating it (CWE-98). An unauthenticated remote attacker can include arbitrary PHP files on the server, which can lead to remote code execution when PHP files can be uploaded.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

The BP Profile Search plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 5.9 via the 'ajax_template' value parsed from the client-controlled 'bps_directory' cookie during BuddyPress AJAX directory requests. The bps_directory_ajax() filter (hooked onto bp_legacy_object_template_path and bp_nouveau_object_template_path) reads the cookie, applies only a referer-derived 'page' comparison in bps_get_directory_data() (where bps_current_page() uses HTTP_REFERER during AJAX and is therefore also attacker-controlled), and then suffixes the attacker-controlled template value with '.php' and passes it to bp_locate_template() with no basename restriction, no whitelist, and no path-traversal check. This makes it possible for unauthenticated attackers to include arbitrary PHP files on the server, which can lead to remote code execution when PHP files can be uploaded or when images such as the default wordpress:php8.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01101 65th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dontdreamBP Profile Searchup to 5.9—No fix listedCNA
  • BP Profile Search Vendordontdream Affected up to 5.9 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for BP Profile Search.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Timeline

  1. 2026-10-14 Threatist record created from CVE-2026-104995
  2. 2026-10-14 Alias added: GHSA-46v5-32pc-qx73
  3. 2026-10-14 Priority changed: MEDIUM → LOW
  4. 2026-10-15 CISA SSVC decision points changed

References

  • TI-2024-14880 WordPress BP Profile Search Plugin <= 5.5 is vulnerable to Cross Site Scripting (XSS) CVSS 3.1HIGH 7.1
  • TI-2023-18502 WordPress Menubar Plugin <= 5.8.2 is vulnerable to Cross Site Request Forgery (CSRF) CVSS 3.1MEDIUM 6.5
  • TI-2024-07275 BP Profile Search <= 5.7.5 - Cross-Site Request Forgery to Reflected Cross-Site Scripting CVSS 3.1MEDIUM 6.1

Sources