
Theme Companion Security & Risk Analysis
wordpress.org/plugins/theme-companionThis plugin is used to assist in designing sites without editing the original style.css
Is Theme Companion Safe to Use in 2026?
Generally Safe
Score 85/100Theme Companion has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "theme-companion" v1.0.2 plugin exhibits a generally good security posture in terms of its attack surface and lack of known vulnerabilities. The plugin does not expose any direct AJAX handlers, REST API routes, shortcodes, or cron events, significantly limiting potential entry points for attackers. Furthermore, the absence of known CVEs and a clean vulnerability history are positive indicators. All SQL queries are also properly prepared, mitigating risks associated with SQL injection.
However, the static analysis reveals critical weaknesses. The plugin uses dangerous functions, specifically `preg_replace(/e)`, which can lead to arbitrary code execution if not handled with extreme care and sanitization, especially when dealing with user-supplied input. More concerning is the finding that 0% of outputs are properly escaped. This widespread lack of output escaping creates a high risk of Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into the website. While taint analysis shows no unsanitized paths in the limited flows analyzed, the presence of dangerous functions and unescaped output presents significant risks.
In conclusion, while the plugin boasts a low attack surface and a clean vulnerability history, the identified code signals, particularly the use of `preg_replace(/e)` and the complete lack of output escaping, represent substantial security concerns. These issues could be exploited to achieve arbitrary code execution and XSS. The plugin needs immediate attention to address these critical code-level weaknesses.
Key Concerns
- Dangerous functions: preg_replace(/e)
- Unescaped output: 0% properly escaped
- Capability checks: 0
Theme Companion Security Vulnerabilities
Theme Companion Code Analysis
Dangerous Functions Found
Output Escaping
Data Flow Analysis
Theme Companion Attack Surface
WordPress Hooks 3
Maintenance & Trust
Theme Companion Maintenance & Trust
Maintenance Signals
Community Trust
Theme Companion Alternatives
SiteOrigin CSS
so-css
Powerful, simple CSS editing for WordPress. Visual controls & real-time previews for effortless site customization.
Additional CSS Shortcut
additional-css-shortcut
Adds a quick-access link to the Additional CSS panel in the Site Editor for block themes.
Code Snippets
code-snippets
An easy, clean and simple way to enhance your site with code snippets.
Simple Custom CSS and JS
custom-css-js
Easily add Custom CSS or JS to your website with an awesome editor.
Theme Editor
theme-editor
Theme Editor allows you to edit theme files, create folder, upload files and remove any file and folder in themes and plugins.
Theme Companion Developer Profile
2 plugins · 400 total installs
How We Detect Theme Companion
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/theme-companion/tabbed/tabbed_pages_ie.css/wp-content/plugins/theme-companion/tabbed/tabbed_pages.css/wp-content/plugins/theme-companion/edit_area/edit_area_full.js/wp-content/plugins/theme-companion/tabbed/tabbed_pages.jsHTML / DOM Fingerprints
ccadminonoffshowinside<!-- Companion Custom CSS over-rides for [ ]: - -->+4 moreid="newcontent"id="ccadmin"class="on"title="cceditor"class="off"title="ccexamples"+6 moreeditAreaLoadercompanion_pluginfocompanion_is_multisitecompanion_init_hookscompanion_css_footercompanion_load_scripts+5 more