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.
Published: 2026-08-05
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the Relevanssi and Relevanssi Premium WordPress plugins' Admin Search AJAX handler, which accepts a URL‑encoded args parameter. The handler builds a WP_Query and forwards taxonomy query data to Relevanssi's internal builder. While the taxonomy input is sanitized as text, the resulting SQL fragment is inserted directly into a term‑taxonomy lookup query without proper parameterization. This oversight enables a contributor‑level user with the edit_posts capability to inject arbitrary SQL and perform a time‑based blind SQL injection against the WordPress database, potentially compromising data confidentiality or integrity.

Affected Systems

This flaw affects the free Relevanssi plugin up to and including version 4.27.1 and the Relevanssi Premium plugin up to and including version 2.30.2. Both versions are maintained by the vendors Relevanssi and comesio and include the same vulnerable code path.

Risk and Exploitability

The CVSS base score of 6.5 signifies moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, indicating no known widespread exploitation as of this data. However, exploitation requires an authenticated user with edit_posts rights, limiting the attack surface to contributors or higher roles. The likely attack vector is an authenticated contributor sending a specially crafted Admin Search AJAX request and measuring response timing to infer database information. Successful exploitation would allow unauthorized data read or modification within the WordPress database.

Generated by OpenCVE AI on August 5, 2026 at 06:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Relevanssi or Relevanssi Premium plugin to the latest version available from the respective vendor, ensuring the version is newer than 4.27.1 or 2.30.2, respectively.
  • Restrict the edit_posts capability for contributor users or remove the contributor role if it is no longer needed, limiting the ability to invoke the vulnerable endpoint.
  • Monitor database and application logs for unusually long query execution times or repeated attempts to trigger the Admin Search AJAX endpoint, which may indicate a time‑based blind SQL injection attempt.

Generated by OpenCVE AI on August 5, 2026 at 06:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Comesio
Comesio relevanssi – A Better Search
Relevanssi
Relevanssi relevanssi Premium – A Better Search
Wordpress
Wordpress wordpress
Vendors & Products Comesio
Comesio relevanssi – A Better Search
Relevanssi
Relevanssi relevanssi Premium – A Better Search
Wordpress
Wordpress wordpress

Wed, 05 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
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.
Title Relevanssi <= 4.27.1 and Relevanssi Premium <= 2.30.2 - Authenticated (Contributor+) SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Comesio Relevanssi – A Better Search
Relevanssi Relevanssi Premium – A Better Search
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-05T15:52:33.819Z

Reserved: 2026-07-16T08:59:41.548Z

Link: CVE-2026-15941

cve-icon Vulnrichment

Updated: 2026-08-05T15:52:29.194Z

cve-icon NVD

Status : Deferred

Published: 2026-08-05T06:16:36.740

Modified: 2026-08-12T21:00:37.147

Link: CVE-2026-15941

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T10:18:31Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')