# CVE-2024-3105: Woody code snippets – Insert Header Footer Code, AdSense Ads <= 2.5.0 -Authenticated (Contributor+) Remote Code Execution

- Severity: Critical 9.9 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.78%, higher than 86% of CVEs (2026-12-01)
- Published: 2024-06-15T08:42:14.653Z
- Modified: 2026-06-17T07:43:19.230Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- themeisle Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts: up to 2.5.0
- webcraftic woody_ad_snippets: up to 2.5.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/134ad095-b0a0-4f0f-832d-3e558d4a250a?source=cve>
- <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=>

## Sources

- CVE List: [CVE-2024-3105](https://www.cve.org/CVERecord?id=CVE-2024-3105), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-3105](https://nvd.nist.gov/vuln/detail/CVE-2024-3105), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3105 · Whole record: https://cve.day/CVE-2024-3105.json · Rebuilt by cve.day 2026-11-25T22:58:41.925Z
