{"id":"CVE-2025-4396","state":"PUBLISHED","title":"Relevanssi <= 4.24.4 (Free) and <= 2.27.5 (Premium) - Unauthenticated SQL Injection","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.","publishedAt":"2025-05-13T03:21:29.625Z","updatedAt":"2026-04-08T16:37:52.300Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["Relevanssi Relevanssi Premium","comesio Relevanssi – A Better Search"],"affected":[{"vendor":"Relevanssi","product":"Relevanssi Premium","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.27.5","versionType":"semver"}]},{"vendor":"comesio","product":"Relevanssi – A Better Search","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.24.4","versionType":"semver"}]}],"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","https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search.php#L1016","https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search-tax-query.php#L371"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/4xxx/CVE-2025-4396.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-4396","state":"PUBLISHED","datePublished":"2025-05-13T03:21:29.625Z","dateUpdated":"2026-04-08T16:37:52.300Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2025-05-06T20:10:28.220Z"},"containers":{"cna":{"title":"Relevanssi <= 4.24.4 (Free) and <= 2.27.5 (Premium) - Unauthenticated SQL Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Relevanssi","product":"Relevanssi Premium","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.27.5","versionType":"semver"}]},{"vendor":"comesio","product":"Relevanssi – A Better Search","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.24.4","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/197be163-4504-4caa-b729-c3293463cfb5?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search-tax-query.php#L409"},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search.php#L982"},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search.php#L1016"},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search-tax-query.php#L371"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T16:37:52.300Z"},"credits":[{"lang":"en","type":"finder","value":"Jack Taylor"}],"timeline":[{"time":"2025-05-03T00:00:00.000Z","lang":"en","value":"Discovered"},{"time":"2025-05-12T14:38:29.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-13T13:57:24.904164Z","id":"CVE-2025-4396","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-13T13:57:36.925Z"}}]}}}