Relevanssi <= 4.24.4 (Free) and <= 2.27.5 (Premium) - Unauthenticated SQL Injection
CVE-2025-4396Published 13 May 2025, 03:21 UTC
Real-world risk
8.0/ 10High
Patch this week; within 48 h if Internet-facing
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Wordfence)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Relevanssi PremiumNiche | <= 2.27.5 | — |
| Relevanssi – A Better SearchNiche | <= 4.24.4 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Nuclei scanner template (link)
EPSS 2.7% chance of exploitation in 30 days (percentile 87), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T4: Weaponized1.000
- 10 × impact 0.8 × prerequisites 1 × threat 18.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 13 May 2025 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-89
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/197be163-4504-4caa-b729-c3293463cfb5?source=cve
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search-tax-query.php#L409
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search.php#L982
- CVE-2025-4396 on CVE.org