SearchWP API Security & Risk Analysis

wordpress.org/plugins/searchwp-api

Run advanced searches via the WordPress REST API and SearchWP.

100 active installs v1.1.0 PHP + WP 4.3.1+ Updated Jan 7, 2016
jsonrest-apisearchsearchwpwp-api
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is SearchWP API Safe to Use in 2026?

Generally Safe

Score 85/100

SearchWP API 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 searchwp-api plugin version 1.1.0 exhibits a generally strong security posture based on the provided static analysis. The code demonstrates good practices by utilizing prepared statements for all SQL queries and ensuring proper output escaping for all identified outputs. The absence of file operations, external HTTP requests, and dangerous functions further contributes to its security. Furthermore, the plugin has no recorded vulnerabilities or CVEs, indicating a well-maintained and secure development history.

While the static analysis shows no immediate critical risks such as unsanitized taint flows or raw SQL queries, there are areas that warrant attention. The lack of nonce checks and capability checks on the single REST API route, which is currently unprotected from a permission perspective, presents a potential concern. If this REST API endpoint handles sensitive data or performs actions, it could be a target for unauthorized access or manipulation.

In conclusion, searchwp-api v1.1.0 is largely secure with excellent coding practices observed in its SQL handling and output escaping. However, the unprotected REST API route is a significant weakness that needs to be addressed to prevent potential security breaches. The clean vulnerability history is a positive sign but does not negate the identified entry point weaknesses.

Key Concerns

  • REST API route lacks permission callbacks
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

SearchWP API Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

SearchWP API Release Timeline

No version history available.
Code Analysis
Analyzed Mar 16, 2026

SearchWP API Code Analysis

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

Output Escaping

100% escaped2 total outputs
Attack Surface

SearchWP API Attack Surface

Entry Points1
Unprotected0

REST API Routes 1

GET/wp-json/swp_api/searchroute.php:25
WordPress Hooks 1
actionrest_api_initplugin.php:22
Maintenance & Trust

SearchWP API Maintenance & Trust

Maintenance Signals

WordPress version tested4.4.34
Last updatedJan 7, 2016
PHP min version
Downloads15K

Community Trust

Rating100/100
Number of ratings4
Active installs100
Developer Profile

SearchWP API Developer Profile

Josh Pollock

8 plugins · 560 total installs

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

How We Detect SearchWP API

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

Asset Fingerprints

HTML / DOM Fingerprints

REST Endpoints
/swp_api/search
FAQ

Frequently Asked Questions about SearchWP API