CVE-2026-104995 WordPress BP Profile Search - Local File Inclusion

BP Profile Search plugin for WordPress <= 5.9 contains a local file inclusion vulnerability caused by improper validation of the 'ajax_template' value from the 'bps_directory' cookie during BuddyPress AJAX requests, letting unauthenticated attackers include arbitrary PHP files, exploit requires attacker control over HTTP_REFERER and cookie.

CVSS base score 8.1 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.85% chance of exploitation in 30 days
View the NVD record ↗