WP Search Keyword Highlight Security & Risk Analysis

wordpress.org/plugins/wp-search-keyword-highlight

This plugin will highlight the search keyword(s) each time,you can specify a background color and a text color for the search keyword(s).

10 active installs v1.0 PHP + WP 3.3+ Updated Mar 24, 2014
keyword-highlightsearch-keyword-highlight
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Search Keyword Highlight Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 12yr ago
Risk Assessment

The wp-search-keyword-highlight plugin v1.0 presents a mixed security posture. On one hand, the absence of any known vulnerabilities in its history and the use of prepared statements for SQL queries are positive indicators. The code also avoids dangerous functions, file operations, and external HTTP requests, which are good security practices.

However, significant concerns arise from the static analysis. The plugin exposes one AJAX handler without any authentication or capability checks, creating a direct entry point for potential unauthorized actions. Furthermore, a critically low percentage (15%) of output is properly escaped, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. The lack of nonce checks on the unprotected AJAX handler exacerbates this risk, as it allows for easily forged requests. The plugin's vulnerability history is clean, but this could be due to a lack of discovery rather than inherent security, given the identified code weaknesses.

In conclusion, while the plugin demonstrates some good practices, the unprotected AJAX endpoint combined with widespread unescaped output constitutes a serious security risk. The absence of known vulnerabilities is encouraging but does not negate the immediate threats posed by the static analysis findings. Remediation of the unescaped output and the addition of proper authentication and nonce checks to the AJAX handler are strongly recommended.

Key Concerns

  • Unprotected AJAX handler
  • Low output escaping percentage
  • Missing nonce checks on AJAX
Vulnerabilities
None known

WP Search Keyword Highlight Security Vulnerabilities

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

WP Search Keyword Highlight Code Analysis

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

Output Escaping

15% escaped13 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
coolwp_skh_options_page (admin\cwp-plugin-admin-interface.php:40)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

WP Search Keyword Highlight Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_of_ajax_post_actionadmin\cwp-plugin-admin-interface.php:285
WordPress Hooks 9
actioninitadmin\cwp-plugin-admin-functions.php:21
actionadmin_menuadmin\cwp-plugin-admin-interface.php:21
actionadmin_headadmin\cwp-plugin-admin-interface.php:107
actioninitadmin\cwp-plugin-settings.php:3
actionplugins_loadedwp-search-keyword-highlight.php:45
filterthe_titlewp-search-keyword-highlight.php:55
filterthe_excerptwp-search-keyword-highlight.php:56
filterthe_contentwp-search-keyword-highlight.php:57
actionwp_headwp-search-keyword-highlight.php:79
Maintenance & Trust

WP Search Keyword Highlight Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedMar 24, 2014
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Alternatives

WP Search Keyword Highlight Alternatives

No alternatives data available yet.

Developer Profile

WP Search Keyword Highlight Developer Profile

suifengtec

12 plugins · 1K total installs

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

How We Detect WP Search Keyword Highlight

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-search-keyword-highlight/admin/admin-style.css/wp-content/plugins/wp-search-keyword-highlight/admin/colorpicker.css/wp-content/plugins/wp-search-keyword-highlight/admin/admin-style-coffee.css/wp-content/plugins/wp-search-keyword-highlight/admin/js/colorpicker.js
Script Paths
/wp-content/plugins/wp-search-keyword-highlight/admin/js/colorpicker.js

HTML / DOM Fingerprints

CSS Classes
wraplogotop-save-btnajax-loading-imgajax-loading-img-bottomsave_bar_topreset-buttonsubmit-footer-reset+8 more
Data Attributes
id="option_container"id="of-popup-save"class="of-save-popup"id="of-popup-reset"id="ofform"id="header"+19 more
JS Globals
CWP_PLUGIN_SKH_URI
FAQ

Frequently Asked Questions about WP Search Keyword Highlight