
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Security & Risk Analysis
wordpress.org/plugins/insert-phpInsert PHP, JavaScript, CSS, HTML, ads, and tracking code into WordPress headers, footers, pages, and content using conditional logic, without editing …
Is Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Safe to Use in 2026?
Generally Safe
Score 91/100Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts has a strong security track record. Known vulnerabilities have been patched promptly.
The "insert-php" plugin v2.7.2 exhibits a mixed security posture. While it boasts a significant number of auth checks on its AJAX handlers and appears to have no currently unpatched CVEs, several concerning signals emerge from the static analysis and its vulnerability history. The presence of the `unserialize` function, combined with taint analysis revealing flows with unsanitized paths, raises a red flag for potential code injection or deserialization vulnerabilities, especially when coupled with the plugin's history of "Improper Control of Generation of Code ('Code Injection')" and "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')". The vulnerability history also indicates a pattern of "Improper Access Control" and "Missing Authorization", which, despite the current auth checks, suggests past weaknesses in how user input and actions were validated. The large number of file operations and external HTTP requests also present potential vectors for exploitation if not handled with extreme care. Overall, while there are good practices like extensive nonce and capability checks, the presence of dangerous functions, concerning taint flows, and a history of severe vulnerabilities necessitate caution.
Key Concerns
- Dangerous function 'unserialize' found
- Taint flows with unsanitized paths
- Multiple past critical/high vulnerabilities
- 7 total CVEs, including critical and high
- SQL queries with low prepared statement usage (57%)
- 11 file operations
- 3 external HTTP requests
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Security Vulnerabilities
CVEs by Year
Severity Breakdown
7 total CVEs
Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 -Authenticated (Contributor+) Remote Code Execution
Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 - Authenticated (Admin+) Stored Cross-Site Scripting
Woody code snippets <= 2.4.5 - Reflected Cross-Site Scripting
Woody code snippets <= 2.3.9 - Cross-Site Request Forgery Bypass
Woody Ad Snippets <= 2.2.8 - Authenticated Cross-Site Scripting
Woody Ad Snippets <= 2.2.5 - Arbitrary Post Deletion
Woody Ad Snippets <= 2.2.4 - Missing Authorization to Settings Import
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Code Analysis
Dangerous Functions Found
Bundled Libraries
SQL Query Safety
Output Escaping
Data Flow Analysis
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Attack Surface
AJAX Handlers 13
WordPress Hooks 97
Maintenance & Trust
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Maintenance & Trust
Maintenance Signals
Community Trust
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Alternatives
FluentSnippets – The High-Performance file based Custom Code Snippets Plugin
easy-code-manager
Add header and footer scripts, PHP Snippets, Custom CSS /JS snippets with advanced conditional logic, and more...
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
insert-headers-and-footers
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.
Insert PHP Code Snippet
insert-php-code-snippet
Add PHP code to your pages and posts easily using shortcodes.
WP Coder – Insert & Manage Code Snippets
wp-coder
Snippets made simple — easily insert and manage custom PHP, CSS, JS & HTML without coding in theme files.
Add Custom Codes – Insert Header, Footer, Custom PHP Snippets, CSS, Javascript
add-custom-codes
Add custom codes to your wordpress site. A completely free plugin to add Custom PHP functions, HTML, CSS, Javascript, any other codes to your website.
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts Developer Profile
37 plugins · 2.2M total installs
How We Detect Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/insert-php/admin/assets/img/icon-256x256.pngHTML / DOM Fingerprints
<div style="margin:20px 0;padding:20px; background:#ffe8e8;">If you see this message after saving the snippet to the Woody Code Snippets plugin, please enable safe mode in the Woody plugin. Safe mode will allow you to continue working in the admin panel of your site and change the snippet in which you made a php error.</div><a href="" class="button">Enable Safe Mode</a>