Domains Switcher Security & Risk Analysis

wordpress.org/plugins/domains-switcher

Edit database to change wordpress site's domains

20 active installs v1.4 PHP + WP 3.2.1+ Updated Oct 3, 2011
change-domainsedit-wordpress-database
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Domains Switcher Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 14yr ago
Risk Assessment

The "domains-switcher" v1.4 plugin exhibits a generally good security posture, primarily due to its avoidance of dangerous functions, proper use of prepared statements for SQL queries, and the absence of known vulnerabilities. The plugin also correctly implements nonce checks for its AJAX entry points, which is a crucial security measure. Furthermore, there are no identified taint flows indicating unsanitized paths or external HTTP requests, which reduces the risk of certain types of attacks.

However, a significant concern arises from the complete lack of output escaping. This means that any data displayed back to the user, especially if it originates from user input or external sources, is not being properly sanitized. This opens the door to potential Cross-Site Scripting (XSS) vulnerabilities, where malicious scripts could be injected and executed in users' browsers. Additionally, while capability checks are present for the AJAX handlers, their absence on other potential entry points (though none are identified in the static analysis beyond AJAX) could be a future risk if new entry points are added without proper authorization. The vulnerability history being clean is a positive sign, suggesting the developers have a good track record or are proactive with security, but it doesn't negate the risks identified in the current code.

In conclusion, "domains-switcher" v1.4 has a solid foundation regarding SQL and general code safety. The absence of exploitable taint flows and known CVEs are strong positives. The critical weakness lies in the universal lack of output escaping, which poses a tangible XSS risk. Addressing this would significantly bolster the plugin's security.

Key Concerns

  • 0% output escaping
Vulnerabilities
None known

Domains Switcher Security Vulnerabilities

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

Domains Switcher Code Analysis

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

SQL Query Safety

100% prepared5 total queries

Output Escaping

0% escaped21 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
get_columns_name (main.php:280)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Domains Switcher Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_get_tables_namemain.php:251
authwp_ajax_get_columns_namemain.php:279
WordPress Hooks 1
actionadmin_menumain.php:22
Maintenance & Trust

Domains Switcher Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedOct 3, 2011
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

Domains Switcher Developer Profile

SimonaIlie

4 plugins · 60 total installs

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

How We Detect Domains Switcher

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/domains-switcher/images/info.png

HTML / DOM Fingerprints

CSS Classes
domains_switcher_infowrap
Data Attributes
data-table
JS Globals
$
REST Endpoints
/wp-json/wp/v2/pages/wp-json/wp/v2/posts/wp-json/wp/v2/media/wp-json/wp/v2/users/wp-json/wp/v2/comments/wp-json/wp/v2/tags/wp-json/wp/v2/categories/wp-json/wp/v2/types/wp-json/wp/v2/taxonomies/wp-json/wp/v2/statuses/wp-json/wp/v2/settings
FAQ

Frequently Asked Questions about Domains Switcher