NS Ajax Products Search Security & Risk Analysis

wordpress.org/plugins/ns-ajax-products-search

Make your product search rapid and easier with ajax search!

10 active installs v1.4.4 PHP + WP 4.3+ Updated Feb 8, 2022
ajaxsearch-ajaxwoo-ajax-searchwoocommerce-ajax-searchwoocommerce-search
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is NS Ajax Products Search Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The security posture of the ns-ajax-products-search plugin version 1.4.4 presents significant concerns, primarily due to a large attack surface exposed without proper authentication. While the plugin demonstrates good practice by using prepared statements for all its SQL queries and avoiding dangerous functions, the absence of capability and nonce checks on a majority of its AJAX handlers is a critical weakness. This means that any authenticated user, regardless of their role, could potentially trigger these handlers, leading to unintended actions or information disclosure.

The taint analysis reveals two high-severity flows with unsanitized paths. This indicates potential vulnerabilities where user-controlled input could be manipulated to affect file paths or other sensitive operations within the plugin, even though direct exploitation might require further conditions not evident in this static analysis. The lack of any recorded vulnerability history suggests a relatively clean past, which is a positive sign. However, it does not negate the current risks identified in the code, especially the unprotected AJAX endpoints, which are prime targets for attackers.

In conclusion, while the plugin's internal coding practices like prepared SQL statements are commendable, the exposed attack surface and identified high-severity taint flows create a substantial risk. The absence of basic security checks on AJAX handlers is a major oversight that needs immediate attention. The plugin has strengths in its SQL handling but significant weaknesses in its access control for its AJAX endpoints.

Key Concerns

  • AJAX handlers without auth checks
  • High severity taint flows
  • Outputs not properly escaped
  • AJAX handlers without nonce checks
  • AJAX handlers without capability checks
Vulnerabilities
None known

NS Ajax Products Search Security Vulnerabilities

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

NS Ajax Products Search Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

23% escaped44 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
pe_deactivation_ajax_function (plugineye\plugineye-ajax\plugineye_on_deactivation_function.php:5)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
5 unprotected

NS Ajax Products Search Attack Surface

Entry Points6
Unprotected5

AJAX Handlers 5

authwp_ajax_add_foobarns_search_products.plugin.php:76
noprivwp_ajax_add_foobarns_search_products.plugin.php:77
authwp_ajax_my_ajaxns_search_products.plugin.php:134
authwp_ajax_pe_deactivation_ajax_functionplugineye\plugineye-ajax\plugineye_on_deactivation_function.php:2
noprivwp_ajax_pe_deactivation_ajax_functionplugineye\plugineye-ajax\plugineye_on_deactivation_function.php:3

Shortcodes 1

[ns-search-products-free] ns_search_products.plugin.php:132
WordPress Hooks 12
actionadmin_menuns-admin-options\ns-admin-options-setup.php:7
actionadmin_enqueue_scriptsns-admin-options\ns-admin-options-setup.php:14
actionwp_enqueue_scriptsns_search_products.scripts.php:16
actionwp_enqueue_scriptsns_search_products.style.php:10
actionwidgets_initns_search_products.widget.php:102
filterplugin_action_linksplugineye\plugineye-class.php:96
actionadmin_menuplugineye\plugineye-class.php:113
actionadmin_enqueue_scriptsplugineye\plugineye-class.php:125
actionadmin_enqueue_scriptsplugineye\plugineye-class.php:136
actionactivated_pluginplugineye\plugineye-class.php:147
actionin_admin_footerplugineye\plugineye-class.php:401
actionactivated_pluginplugineye\plugineye-class.php:440
Maintenance & Trust

NS Ajax Products Search Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedFeb 8, 2022
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

NS Ajax Products Search Developer Profile

NsThemes

24 plugins · 4K total installs

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

How We Detect NS Ajax Products Search

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/ns-ajax-products-search/asset/js/custom.js/wp-content/plugins/ns-ajax-products-search/asset/css/ns-productsearch-style.css/wp-content/plugins/ns-ajax-products-search/asset/css/ns-productsearch-style-responsive.css
Script Paths
/wp-content/plugins/ns-ajax-products-search/asset/js/custom.js
Version Parameters
ns-ajax-products-search/asset/js/custom.js?ver=ns-ajax-products-search/asset/css/ns-productsearch-style.css?ver=ns-ajax-products-search/asset/css/ns-productsearch-style-responsive.css?ver=

HTML / DOM Fingerprints

CSS Classes
ns-productsearch-formns-productsearch-input-containerns-tab-cell_freens-productsearch-input-searchns-productsearch-product-list-id-freens-productsearch-searchsubmit-freens-productsearch-close-div-freens-productsearch-boxclose-free+11 more
HTML Comments
*** add link premium ***
Data Attributes
id="ns_s_free"id="ns_product_list_id_free"id="searchsubmit_free"id="ns_boxclose_free"
JS Globals
ns_ajaxSearch_object_free
Shortcode Output
<form role="search" class="ns-productsearch-form" method="get" id="ns_searchform" name="searchform" action="
FAQ

Frequently Asked Questions about NS Ajax Products Search