{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-3105 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-3105 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-3105 is a critical code injection vulnerability in themeisle Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts, published on 15 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3105 and fix it if it is affected.\n\nWhat it is: CVE-2024-3105 is a critical code injection vulnerability in themeisle Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts, published on 15 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-3105 in the wild and no public exploit code.\n\nAffected product: themeisle Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-3105/ (Markdown: https://insights.sbomify.com/CVE-2024-3105/index.md)","id":"CVE-2024-3105","markdown":"https://insights.sbomify.com/CVE-2024-3105/index.md","name":"CVE-2024-3105","record":{"aliases":["GHSA-vmq4-67rj-g3jw"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated contributors can execute arbitrary code on the server via the insert_php shortcode in the Woody code snippets WordPress plugin.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-08-10","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-08-10T14:52:44Z","kind":"github_poc","ref":"https://github.com/hunThubSpace/CVE-2024-3105-PoC","stars":2,"title":"A PoC Exploit for CVE-2024-3105 - The Woody code snippets – Insert Header Footer Code, AdSense Ads plugin for WordPress Remote Code Execution (RCE)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Code injection in Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts","id":"CVE-2024-3105","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"Spectra – WordPress Gutenberg Blocks \u003c= 2.12.6 - Authenticated (Contributor+) Path Traversal","id":"CVE-2024-3107"},"packages":[],"prev":{"headline":"Remote Code Execution in mintplex-labs/anything-llm","id":"CVE-2024-3104"},"products":["Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts"],"published":"2024-06-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["themeisle"]},"summary":"Authenticated contributors can execute arbitrary code on the server via the insert_php shortcode in the Woody code snippets WordPress plugin.","url":"https://insights.sbomify.com/CVE-2024-3105/"}