CVE-2026-15941

Relevanssi <= 4.27.1 and Relevanssi Premium <= 2.30.2 - Authenticated (Contributor+) SQL Injection

Published Aug 5, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 5, 2026, 3:52 PM
Reserved
Jul 16, 2026, 8:59 AM
Status
Deferred
Published
Aug 5, 2026, 6:16 AM
Modified
Aug 12, 2026, 9:00 PM