CVE-2024-3105: CWE-94 Improper Control of Generation of Code ('Code Injection') in themeisle Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts
The Woody code snippets – Insert Header Footer Code, AdSense Ads plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.5.0 via the 'insert_php' shortcode. This is due to the plugin not restricting the usage of the functionality to high level authorized users. This makes it possible for authenticated attackers, with contributor-level access and above, to execute code on the server.
AI Analysis
Technical Summary
The Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts WordPress plugin versions up to 2.5.0 contain a CWE-94 Improper Control of Generation of Code vulnerability. This flaw allows authenticated users with contributor-level privileges or above to execute arbitrary code remotely via the 'insert_php' shortcode because the plugin fails to restrict this functionality to high-level authorized users. The vulnerability is classified as remote code execution with a CVSS 3.1 base score of 9.9, reflecting its critical severity and potential for complete system compromise.
Potential Impact
An attacker with contributor-level access or higher can execute arbitrary code on the server hosting the vulnerable plugin, potentially leading to full system compromise including confidentiality, integrity, and availability impacts. This could allow unauthorized control over the affected WordPress environment and underlying server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access and above to trusted users only. Monitor for updates from themeisle regarding a security patch and apply it promptly once released.
CVE-2024-3105: CWE-94 Improper Control of Generation of Code ('Code Injection') in themeisle Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts
Description
The Woody code snippets – Insert Header Footer Code, AdSense Ads plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.5.0 via the 'insert_php' shortcode. This is due to the plugin not restricting the usage of the functionality to high level authorized users. This makes it possible for authenticated attackers, with contributor-level access and above, to execute code on the server.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts WordPress plugin versions up to 2.5.0 contain a CWE-94 Improper Control of Generation of Code vulnerability. This flaw allows authenticated users with contributor-level privileges or above to execute arbitrary code remotely via the 'insert_php' shortcode because the plugin fails to restrict this functionality to high-level authorized users. The vulnerability is classified as remote code execution with a CVSS 3.1 base score of 9.9, reflecting its critical severity and potential for complete system compromise.
Potential Impact
An attacker with contributor-level access or higher can execute arbitrary code on the server hosting the vulnerable plugin, potentially leading to full system compromise including confidentiality, integrity, and availability impacts. This could allow unauthorized control over the affected WordPress environment and underlying server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access and above to trusted users only. Monitor for updates from themeisle regarding a security patch and apply it promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-03-29T19:14:03.962Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c8cb7ef31ef0b566262
Added to database: 2/25/2026, 9:41:32 PM
Last enriched: 4/9/2026, 7:56:56 PM
Last updated: 4/12/2026, 6:09:08 AM
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.