Custom Search Box Security & Risk Analysis

wordpress.org/plugins/custom-search-box

This plugin adds a customizable search box that displays only predefined backend search entries.

0 active installs v1.0.2 PHP + WP + Updated Unknown
backend-searchcustom-searchfile-searchimage-searchsearch-box
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Search Box Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs
Risk Assessment

The custom-search-box plugin version 1.0.2 exhibits a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and a high percentage of properly escaped output, minimizing risks of SQL injection and XSS through these channels. The absence of known CVEs and critical taint flows is also a strong indicator of its current security health. However, significant concerns arise from its attack surface. The plugin exposes two AJAX handlers without any authentication checks, presenting a direct pathway for unauthorized actions or information disclosure if these handlers perform sensitive operations.

The code analysis reveals no dangerous functions or file operations that are inherently risky, and while there are three nonce checks, they are not universally applied to all entry points, particularly the unprotected AJAX handlers. The lack of capability checks on the AJAX endpoints is particularly worrying, as it means any authenticated user, regardless of their role or permissions, could potentially trigger these functions. The plugin's vulnerability history is clean, suggesting a history of secure development or minimal exposure, but this cannot compensate for the identified weaknesses in the current version's attack surface.

In conclusion, while the plugin benefits from secure database interactions and output handling, the unprotected AJAX endpoints create a substantial security risk. The absence of capability checks on these handlers is the most critical finding. This plugin would benefit from implementing proper authentication and authorization checks on all AJAX handlers to improve its overall security posture.

Key Concerns

  • AJAX handlers without authentication checks
  • AJAX handlers without capability checks
Vulnerabilities
None known

Custom Search Box Security Vulnerabilities

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

Custom Search Box Code Analysis

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

Output Escaping

93% escaped113 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
itc_csbp_settings_process_settings_import (includes\class-import-export.php:58)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Custom Search Box Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 2

authwp_ajax_itc_csbp_custom_search_box_dismissedincludes\class-itc.php:76
authwp_ajax_itc_csbp_custom_search_box_dismissed_alertincludes\class-itc.php:77

Shortcodes 1

[itc_csbp_custom_search] includes\class-custom-search-box.php:7
WordPress Hooks 18
actionadmin_noticesadmin\class-admin.php:12
actionadmin_noticesincludes\class-import-export.php:71
actionadmin_noticesincludes\class-import-export.php:86
actionadmin_noticesincludes\class-import-export.php:95
actionadmin_noticesincludes\class-import-export.php:133
actionadmin_noticesincludes\class-import-export.php:138
actionadmin_noticesincludes\class-import-export.php:144
actionplugins_loadedincludes\class-itc.php:46
actionwp_headincludes\class-itc.php:56
actionadmin_initincludes\class-itc.php:62
actionadmin_initincludes\class-itc.php:63
actionadmin_enqueue_scriptsincludes\class-itc.php:71
actionadmin_enqueue_scriptsincludes\class-itc.php:72
actionadmin_menuincludes\class-itc.php:73
actionadmin_initincludes\class-itc.php:74
actionadmin_noticesincludes\class-itc.php:78
actionwp_enqueue_scriptsincludes\class-itc.php:83
actionwp_enqueue_scriptsincludes\class-itc.php:84
Maintenance & Trust

Custom Search Box Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedUnknown
PHP min version
Downloads447

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Custom Search Box Developer Profile

ideasToCode

5 plugins · 13K total installs

78
trust score
Avg Security Score
98/100
Avg Patch Time
390 days
View full developer profile
Detection Fingerprints

How We Detect Custom Search Box

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-search-box/admin/css/itc-custom-search.css/wp-content/plugins/custom-search-box/admin/js/itc-custom-search.js
Script Paths
/wp-content/plugins/custom-search-box/admin/js/itc-custom-search.js
Version Parameters
custom-search-box/admin/css/itc-custom-search.css?ver=custom-search-box/admin/js/itc-custom-search.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-itc-csbp-input-placeholderdata-itc-csbp-input-widthdata-itc-csbp-input-border-sizedata-itc-csbp-input-border-colordata-itc-csbp-input-box-shadowdata-itc-csbp-input-bg-color+21 more
JS Globals
ITC_CSBP_Custom_Search_Box_Admin
Shortcode Output
[itc_csbp_custom_search]
FAQ

Frequently Asked Questions about Custom Search Box