Ajax Search Security & Risk Analysis

wordpress.org/plugins/ajax-search

Ajax Search is a simple instant posts search widget.

10 active installs v1.2.2 PHP + WP 3.1.0+ Updated Jan 9, 2016
ajax-searchinstant-searchlive-search
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Ajax Search Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The "ajax-search" v1.2.2 plugin presents a significant security risk due to its unprotected AJAX handlers and a complete lack of output escaping. The static analysis reveals that all identified entry points, specifically two AJAX handlers, lack authentication checks. This means any unauthenticated user could potentially trigger these handlers, leading to unauthorized actions or information disclosure. Furthermore, none of the nine identified output operations are properly escaped, creating a strong possibility for Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is reflected directly in the output. The plugin does demonstrate some positive security practices, such as 100% usage of prepared statements for SQL queries and no observed dangerous functions like `eval` or `create_function` (although `create_function` is listed as a dangerous function, its presence alone is a concern). The vulnerability history is clean, with no recorded CVEs, which could indicate either a well-written plugin or insufficient security auditing. However, the current code analysis reveals clear and present dangers that outweigh the absence of past vulnerabilities.

Key Concerns

  • AJAX handlers without auth checks
  • Unescaped output found
  • Dangerous function: create_function
  • No nonce checks on AJAX handlers
Vulnerabilities
None known

Ajax Search Security Vulnerabilities

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

Ajax Search Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("MXAjaxSearchWidget");'));ajax-search.php:112

Output Escaping

0% escaped9 total outputs
Attack Surface
2 unprotected

Ajax Search Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

noprivwp_ajax_ajaxsearchajax-search.php:209
authwp_ajax_ajaxsearchajax-search.php:210
WordPress Hooks 6
actionwp_enqueue_scriptsajax-search.php:22
actionwidgets_initajax-search.php:112
actionwp_footerajax-search.php:117
actionwp_headajax-search.php:130
actionwp_footerajax-search.php:136
filterposts_whereajax-search.php:222
Maintenance & Trust

Ajax Search Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedJan 9, 2016
PHP min version
Downloads7K

Community Trust

Rating20/100
Number of ratings1
Active installs10
Developer Profile

Ajax Search Developer Profile

Sandor Kovacs

5 plugins · 3K total installs

62
trust score
Avg Security Score
75/100
Avg Patch Time
3360 days
View full developer profile
Detection Fingerprints

How We Detect Ajax Search

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

Asset Fingerprints

Script Paths
/wp-content/plugins/ajax-search/ajax-search.php

HTML / DOM Fingerprints

CSS Classes
MXAjaxSearch
Data Attributes
id='mx-ajax-search'id='my-s'id='results'id='simple-ajax-search-result-list'
JS Globals
ajaxurlajaxsearch_searchcreateCookiereadCookiedelete_cookie
REST Endpoints
/wp-admin/admin-ajax.php
FAQ

Frequently Asked Questions about Ajax Search