Relevant Search Security & Risk Analysis

wordpress.org/plugins/relevant-search

Relevant Search replaces the default WordPress search with relevant results.

20 active installs v1.2.0 PHP + WP 3.0+ Updated Feb 9, 2019
better-searchrelevantrelevant-searchsearchsearch-results
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Relevant Search Safe to Use in 2026?

Generally Safe

Score 85/100

Relevant Search has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

Based on the static analysis and vulnerability history, the 'relevant-search' plugin v1.2.0 appears to have a strong security posture. The plugin reports zero entry points, meaning there are no AJAX handlers, REST API routes, shortcodes, or cron events that could be directly exploited. Furthermore, the code analysis shows no dangerous functions, file operations, external HTTP requests, or bundled libraries, which are common vectors for vulnerabilities. The absence of any known CVEs and a clean vulnerability history reinforces this positive assessment, suggesting a commitment to secure coding practices.

However, a significant concern arises from the SQL query handling. All four SQL queries are executed without using prepared statements. This presents a substantial risk of SQL injection vulnerabilities, as user-supplied data could be directly interpreted as SQL commands. While the output escaping is 100% effective and taint analysis shows no issues, the raw SQL queries are a critical weakness that could be exploited if an attacker can influence the data used in these queries. The lack of nonce and capability checks, coupled with no apparent AJAX or REST API endpoints to test these against, makes it difficult to fully assess the risk in those areas, but the underlying SQL risk is undeniable.

In conclusion, while the plugin excels in minimizing its attack surface and handling output safely, the unmitigated risk of SQL injection due to the complete lack of prepared statements is a major security flaw. The zero CVE history is a positive sign, but it does not negate the direct evidence of a significant vulnerability within the codebase. This plugin is generally well-coded in many aspects, but the SQL vulnerability needs immediate attention.

Key Concerns

  • Raw SQL queries without prepared statements
Vulnerabilities
None known

Relevant Search Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Relevant Search Code Analysis

Dangerous Functions
0
Raw SQL Queries
4
0 prepared
Unescaped Output
0
2 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

0% prepared4 total queries

Output Escaping

100% escaped2 total outputs
Attack Surface

Relevant Search Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterposts_requestrelevant-search.php:53
actionsave_postrelevant-search.php:56
actiondelete_postrelevant-search.php:57
Maintenance & Trust

Relevant Search Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedFeb 9, 2019
PHP min version
Downloads7K

Community Trust

Rating60/100
Number of ratings1
Active installs20
Developer Profile

Relevant Search Developer Profile

Luis A. Ochoa

2 plugins · 50 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Relevant Search

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

JS Globals
relevat_search
FAQ

Frequently Asked Questions about Relevant Search