Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Xyzscripts | Insert Php Code Snippet | < 1.3.7 |
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/insert-php-code-snippet/trunk/admin/sProduct
- https://plugins.trac.wordpress.org/changeset/3134787/insert-php-code-snippet/truPatch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/88001f3c-f5cc-4051-a71PatchThird Party Advisory
FAQ
What is CVE-2024-7420?
CVE-2024-7420 is a vulnerability with a CVSS score of 5.8 (MEDIUM). 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 /a...
How severe is CVE-2024-7420?
CVE-2024-7420 has been rated MEDIUM with a CVSS base score of 5.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-7420?
Check the references section above for vendor advisories and patch information. Affected products include: Xyzscripts Insert Php Code Snippet.