CVE-2024-3105
published critical CVSS 3.1 · 9.9Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 -Authenticated (Contributor+) Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| themeisle | — | Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts0 through 2.5.0 · Other versions: unaffected | Affected | Not stated | Wordfence |
| webcraftic | — | woody_ad_snippets0 through 2.5.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| themeisle | Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts | 0 through 2.5.0 (affected · semver)Default: unaffected | Wordfence · cna |
| webcraftic | woody_ad_snippets | 0 through 2.5.0 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- https://plugins.trac.wordpress.org/browser/insert-php/trunk/includes/class.plugin.php#L166
- https://plugins.trac.wordpress.org/browser/insert-php/trunk/includes/shortcodes/shortcode-insert-php.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3102522%40insert-php&new=3102522%40insert-php&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/134ad095-b0a0-4f0f-832d-3e558d4a250a?source=cve
Provider assertions
3Wordfence · cna
Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 -Authenticated (Contributor+) Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 354251a0da28b458fb45f3919eed5b1ce8c6383feb9766bffa92900d32a988c7
- Ingested
- 23 Sep 2026, 08:25:33 UTC
- Source record
- Official CVE record