Skip to main content

Relevanssi EUVDEUVD-2026-53058

| CVE-2026-15941 MEDIUM
SQL Injection (CWE-89)
2026-08-05 Wordfence GHSA-q96m-48w3-jqmx
6.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress contributor account
  2. Delivery
    Send crafted Admin Search AJAX POST request
  3. Exploit
    Inject time-delay SQL payload into taxonomy argument
  4. Execution
    Measure response latency to infer data bit by bit
  5. Impact
    Reconstruct full database contents including admin password hashes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an active WordPress account with the edit_posts capability, which is the minimum capability for the Contributor role (WordPress's fourth lowest role). The Relevanssi or Relevanssi Premium plugin must be installed and active. No non-default configuration is required beyond plugin activation - the vulnerable Admin Search AJAX handler is registered automatically on plugin load. Exploitation is limited to time-based blind read operations against the WordPress database (no write or schema-modification capability per the C:H/I:N CVSS impact metrics). Limiting factors include: the attacker must hold or obtain a valid WordPress account with at least Contributor privileges; sites with closed registration or Subscriber-only default roles present a higher barrier; and time-based blind injection is slower and noisier than error-based or UNION-based methods, increasing detection opportunity for monitored environments.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N accurately reflects the threat model: network-exploitable with no complexity, requiring only contributor-level authentication, yielding full database read access. The PR:L rating is the critical limiting signal - on sites where contributor registration is closed or tightly controlled, exploitation requires a prior account compromise. On sites with open registration or high contributor turnover, the effective barrier is very low. The impact is confidentiality-only (C:H, I:N, A:N), consistent with read-only blind SQL injection; the entire WordPress database including user credentials, private posts, and plugin data is readable. No EPSS score was provided in the input data; exploitation probability cannot be quantified numerically. The vulnerability is not listed in CISA KEV, and no public proof-of-concept has been identified, suggesting exploitation remains targeted rather than mass-automated at the time of this analysis. There is no signal conflict between the CVSS vector and the description - both point to network-accessible authenticated exploitation with database read impact.

Exploit ScenarioDerived

An attacker registers a free contributor account on a WordPress site running an unpatched Relevanssi version. They craft an HTTP POST to /wp-admin/admin-ajax.php with an action value targeting the Admin Search handler, embedding a malicious args parameter whose taxonomy value contains a time-delay SQL payload such as ' AND SLEEP(5)-- -. By measuring response latency across repeated requests with binary-search payloads, the attacker extracts the WordPress wp_users table - recovering email addresses and password hashes for all site accounts including administrators - without triggering any in-band error response.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

SQL injection in Relevanssi's Admin Search AJAX handler (both free and Premium editions) allows authenticated WordPress contributors to perform time-based blind SQL injection against the site's database, exposing all stored data including user password hashes and private content. The taxonomy query argument passed through the args parameter is sanitized against XSS but never parameterized before SQL interpolation, violating the principle that sanitization and parameterization are distinct concerns. No public exploit has been identified at time of analysis, but the low privilege bar - contributor-level access, attainable on any site with open registration - meaningfully widens the realistic attack surface beyond what the 6.5 CVSS score alone conveys.

RemediationAI

For the free Relevanssi plugin, upgrade to version 4.27.1 or later, confirmed patched per the WordPress plugin trac at https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.1/lib/search-tax-query.php#L411. The fix can be applied directly from the WordPress admin dashboard under Plugins > Update. For Relevanssi Premium users, consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/4f96b87a-1405-4cf6-b903-ad0c7c8e2826 and the Relevanssi Premium vendor for the corresponding patched release, as the Premium fix version is not confirmed by the available trac references. As a compensating control prior to patching, restrict contributor-level registration on the WordPress site (Settings > General > uncheck 'Anyone can register', or set default role to Subscriber) - note this will prevent new contributor signups but does not revoke existing accounts. Additionally, a web application firewall rule blocking time-delay SQL keywords (SLEEP, BENCHMARK, WAITFOR) in AJAX requests to wp-admin/admin-ajax.php can reduce automated exploitation risk, though this is bypassable by determined attackers.

Affected VersionsENISA

Relevanssi – A Better Search 0 ≤4.27.1
Relevanssi Premium – A Better Search 0 ≤2.30.2

Affected Packages

euvd relevanssi_a_better_search no fix
euvd relevanssi_premium_a_better_search no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Two CPE entries are affected: cpe:2.3:a:relevanssi:relevanssi_premium_-_a_better_search (the commercial plugin) and cpe:2.3:a:comesio:relevanssi_-_a_better_search (the free WordPress.org plugin). The vulnerability is rooted in CWE-89 (Improper Neutralization of Special Elements in SQL Commands). The AJAX handler in lib/admin-ajax.php (line 195 per the trac reference) accepts a URL-encoded args parameter, deserializes it into a WP_Query-compatible structure, and forwards taxonomy values into Relevanssi's taxonomy restriction builder at lib/search-tax-query.php (line 411). That builder performs a term taxonomy lookup by interpolating the unsanitized-for-SQL taxonomy string directly into a query, rather than using WordPress's $wpdb->prepare() or equivalent parameterized patterns. The third reference (lib/search.php:L969) indicates the injection point surfaces within the core search path. The attack manifests as time-based blind injection, meaning the attacker infers database contents from deliberate response delays rather than in-band data return.

Know when Relevanssi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network AJAX endpoint requires only contributor authentication (PR:L); time-based blind injection yields full DB read (C:H) with no write or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular WordPress search enhancement plugin, 100k+ active installs
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2024-1380 MEDIUM POC
5.3 Mar 13

The Relevanssi - A Better Search plugin for WordPress is vulnerable to unauthorized access of data due to a missing capa

CVE-2017-1000038 MEDIUM POC
6.1 Jul 17

WordPress plugin Relevanssi version 3.5.7.1 is vulnerable to stored XSS resulting in attacker being able to execute Java

CVE-2017-1000225 MEDIUM POC
6.1 Nov 17

Reflected XSS in Relevanssi Premium version 1.14.8 when using relevanssi_didyoumean() could allow unauthenticated attack

CVE-2024-9021 MEDIUM POC
5.4 Oct 08

In the process of testing the Relevanssi WordPress plugin before 4.23.1, a vulnerability was found that allows you to im

CVE-2018-9034 MEDIUM POC
5.4 Apr 04

Cross-site scripting (XSS) vulnerability in lib/interface.php of the Relevanssi plugin 4.0.4 for WordPress allows remote

CVE-2026-103426 HIGH
7.2 Oct 02

Stored cross-site scripting in Relevanssi Premium through 2.31.4 lets unauthenticated attackers inject arbitrary web scr

CVE-2024-3214 MEDIUM
5.8 Apr 09

The Relevanssi - A Better Search plugin for WordPress is vulnerable to CSV Injection in all versions up to, and includin

CVE-2024-7630 MEDIUM
5.3 Aug 16

The Relevanssi - A Better Search plugin for WordPress is vulnerable to Information Exposure in all versions up to, and i

CVE-2024-3213 MEDIUM
5.3 Apr 09

The Relevanssi - A Better Search plugin for WordPress is vulnerable to unauthorized modification of data due to a missin

CVE-2014-9443 MEDIUM
4.3 Jan 02

Cross-site scripting (XSS) vulnerability in the Relevanssi plugin before 3.3.8 for WordPress allows remote attackers to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy