{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-7420","published":"2024-08-15T03:15:04.830000Z","last_modified":"2026-06-17T08:20:03.407000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:xyzscripts:insert_php_code_snippet:*:*:*:*:*:*:*:*","part":"a","vendor":"xyzscripts","product":"insert_php_code_snippet","version_end_excluding":"1.3.7"}],"cpes_truncated":false,"vendors":["xyzscripts"],"products":["xyzscripts/insert_php_code_snippet"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00357,"percentile":0.21754,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2024-7420/","html_en":"/en/cve/CVE-2024-7420/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-7420","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-7420"},"untrusted":{"vendor_name":"Xyzscripts","product_name":"Insert Php Code Snippet","desc_en":"The Insert PHP Code Snippet plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.3.6. This is due to missing or incorrect nonce validation in the /admin/snippets.php file. This makes it possible for unauthenticated attackers to activate/deactivate and delete code snippets via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. CVE-2024-43275 appears to be a duplicate of this issue.","affected":[{"untrusted_vendor":"f1logic","untrusted_product":"Insert PHP Code Snippet","versions":[]}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/insert-php-code-snippet/trunk/admin/snippets.php#L28","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/changeset/3134787/insert-php-code-snippet/trunk/admin/snippets.php","tags":["Patch"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/88001f3c-f5cc-4051-a713-788014e2241a?source=cve","tags":["Patch","Third Party Advisory"]}]}}