CVE-2026-15941
Description
The plugin provides an Admin Search page that allows users with the `edit_posts` capability to run Relevanssi searches from the WordPress dashboard. The AJAX handler accepts a URL-encoded `args` parameter, parses it into a `WP_Query`, and then passes user-controlled taxonomy query data into Relevanssi's taxonomy restriction builder. The taxonomy value is sanitized as text but is not parameterized for SQL before being interpolated into a term taxonomy lookup query. This allows an authenticated contributor-level attacker to inject SQL through the Admin Search AJAX request and execute time-based blind SQL injection against the WordPress database.
Affected WordPress components
-
Relevanssi – A Better Search Plugin · relevanssiUp to and including 4.27.1; Up to and including 2.30.2View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Relevanssi Relevanssi Premium – A Better Search — Up to and including 2.30.2
- comesio Relevanssi – A Better Search — Up to and including 4.27.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.1/lib/admin-ajax.php#L195
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.1/lib/search-tax-query.php#L411
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.1/lib/search.php#L969
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/4f96b87a-1405-4cf6-b903-ad0c7c8e2826?source=cve
- nvd.nist.gov Official NVD record