Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4396: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Relevanssi Relevanssi – A Better Search (Pro)

0
High
VulnerabilityCVE-2025-4396cvecve-2025-4396cwe-89
Published: Tue May 13 2025 (05/13/2025, 03:21:29 UTC)
Source: CVE
Vendor/Project: Relevanssi
Product: Relevanssi – A Better Search (Pro)

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 14:30:45 UTC

Technical Analysis

CVE-2025-4396 identifies a time-based SQL Injection vulnerability in the Relevanssi – A Better Search plugin for WordPress, affecting all versions up to 4.24.4 (Free) and 2.27.4 (Premium). The vulnerability stems from improper neutralization of special elements in SQL commands (CWE-89), specifically due to insufficient escaping of user-supplied input in the 'cats' and 'tags' query parameters. This allows unauthenticated attackers to inject additional SQL queries into the plugin's database interactions. The injection is time-based, meaning attackers can infer data by measuring response delays, enabling extraction of sensitive information such as user credentials, configuration data, or other confidential records stored in the WordPress database. The vulnerability does not require authentication or user interaction, increasing its risk profile. The CVSS v3.1 score of 7.5 reflects high severity, with network attack vector, low attack complexity, no privileges required, and no user interaction needed. While no public exploits are currently known, the vulnerability's characteristics make it a prime target for attackers once exploit code becomes available. The plugin's widespread use in WordPress sites globally amplifies the potential impact.

Potential Impact

The primary impact of CVE-2025-4396 is the compromise of confidentiality through unauthorized extraction of sensitive data from WordPress databases. Attackers can leverage this vulnerability to access user information, site configuration details, and potentially credentials stored within the database. Although the vulnerability does not directly affect data integrity or availability, the exposure of confidential data can lead to further attacks such as privilege escalation, site takeover, or targeted phishing campaigns. Organizations relying on the Relevanssi plugin for enhanced search functionality face increased risk of data breaches, reputational damage, and compliance violations. Given the unauthenticated nature of the exploit and the low complexity, attackers can rapidly target vulnerable sites at scale. This threat is particularly significant for websites handling sensitive user data, e-commerce platforms, and enterprise WordPress deployments.

Mitigation Recommendations

To mitigate CVE-2025-4396, organizations should immediately upgrade the Relevanssi plugin to a version where the vulnerability is patched once released by the vendor. Until an official patch is available, implement strict input validation and sanitization on the 'cats' and 'tags' parameters at the web application level to block malicious payloads. Deploy Web Application Firewalls (WAFs) with custom rules to detect and block time-based SQL Injection patterns targeting these parameters. Monitor web server and database logs for unusual query patterns or delays indicative of exploitation attempts. Limit database user privileges associated with WordPress to the minimum necessary to reduce potential damage. Additionally, conduct regular security audits and vulnerability scans focusing on WordPress plugins. Educate site administrators on the risks of using outdated plugins and the importance of timely updates. Consider disabling or replacing the plugin if immediate patching is not feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-06T20:10:28.220Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9816c4522896dcbd6565

Added to database: 5/21/2025, 9:08:38 AM

Last enriched: 2/27/2026, 2:30:45 PM

Last updated: 3/25/2026, 1:39:44 AM

Views: 113

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses