CVE-2025-4396
HIGH
7.5
CVSS 3.1
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.
Affected WordPress components
-
Relevanssi – A Better Search Plugin · relevanssiUp to and including 4.24.4; Up to and including 2.27.5View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Relevanssi Relevanssi Premium — Up to and including 2.27.5
- comesio Relevanssi – A Better Search — Up to and including 4.24.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search-tax-query.php#L371
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search-tax-query.php#L409
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search.php#L1016
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.4/lib/search.php#L982
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/197be163-4504-4caa-b729-c3293463cfb5?source=cve
- nvd.nist.gov Official NVD record