Description
The Relevanssi – A Better Search plugin for WordPress is vulnerable to time-based SQL Injection via the cats and tags query parameters in all versions up to, and including, 4.24.4 (Free) and <= 2.27.5 (Premium) due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries to already existing queries that can be used to extract sensitive information from the database.
Published: 2025-05-13
Score: 7.5 High
EPSS: 22.0% Moderate
KEV: No
Impact: Unauthenticated SQL Injection – sensitive data exfiltration
Action: Immediate Patch
AI Analysis

Impact

The Relevanssi – A Better Search plugin for WordPress contains a time‑based SQL injection vulnerability triggered by the cats and tags query parameters. This flaw stems from insufficient escaping of user‑supplied input and the lack of prepared statements. An attacker who can send requests to the plugin’s search functionality can inject additional SQL commands and retrieve sensitive data from the database, such as site content or user information.

Affected Systems

WordPress installations that employ the Relevanssi – A Better Search plugin are vulnerable. The flaw affects all free releases up to and including version 4.24.4 and all premium releases up to and including version 2.27.5. Site administrators should verify whether their instance uses either of these version ranges and whether the plugin is the premium or free edition.

Risk and Exploitability

The CVSS score of 7.5 highlights a high severity risk, and the 22% EPSS score indicates a relatively frequent chance of exploitation. The vulnerability is not listed in the CISA KEV catalog, but the attack vector is likely through unauthenticated HTTP requests containing maliciously crafted cats or tags parameters. Because the flaw allows unauthenticated attackers to append SQL statements to existing queries, it can lead to unprotected data extraction if exploited.

Generated by OpenCVE AI on April 22, 2026 at 17:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Relevanssi – A Better Search plugin to a version newer than 4.24.4 for the free release or newer than 2.27.5 for the premium release, where the SQL injection issue has been resolved.
  • If an immediate update cannot be applied, block or sanitize all inbound requests that include the cats or tags parameters—enforce strict validation or remove those parameters entirely from the search endpoint.
  • Implement a web application firewall rule or database-monitoring alert that detects time‑based SQL injection patterns targeting the search functionality, and deny such requests to mitigate potential exploitation until a patch is deployed.

Generated by OpenCVE AI on April 22, 2026 at 17:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Apr 2026 17:00:00 +0000

Type Values Removed Values Added
Description The Relevanssi – A Better Search plugin for WordPress is vulnerable to time-based SQL Injection via the cats and tags query parameters in all versions up to, and including, 4.24.4 (Free) and <= 2.27.4 (Premium) due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries to already existing queries that can be used to extract sensitive information from the database. The Relevanssi – A Better Search plugin for WordPress is vulnerable to time-based SQL Injection via the cats and tags query parameters in all versions up to, and including, 4.24.4 (Free) and <= 2.27.5 (Premium) due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries to already existing queries that can be used to extract sensitive information from the database.
Title Relevanssi <= 4.24.4 (Free) and <= 2.27.4 (Premium) - Unauthenticated SQL Injection Relevanssi <= 4.24.4 (Free) and <= 2.27.5 (Premium) - Unauthenticated SQL Injection

Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.39907}

epss

{'score': 0.33548}


Tue, 13 May 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 May 2025 03:45:00 +0000

Type Values Removed Values Added
Description The Relevanssi – A Better Search plugin for WordPress is vulnerable to time-based SQL Injection via the cats and tags query parameters in all versions up to, and including, 4.24.4 (Free) and <= 2.27.4 (Premium) due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries to already existing queries that can be used to extract sensitive information from the database.
Title Relevanssi <= 4.24.4 (Free) and <= 2.27.4 (Premium) - Unauthenticated SQL Injection
Weaknesses CWE-89
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:37:52.300Z

Reserved: 2025-05-06T20:10:28.220Z

Link: CVE-2025-4396

cve-icon Vulnrichment

Updated: 2025-05-13T13:57:33.609Z

cve-icon NVD

Status : Deferred

Published: 2025-05-13T04:16:27.797

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-4396

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T17:30:22Z

Weaknesses
  • CWE-89

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