Insert PHP Code Snippet <= 1.3.6 - Cross-Site Request Forgery to Code Snippet Activate/Deactivate/Deletion

5.8
Cross-Site Request Forgery (CSRF)
CVE CVE-2024-7420
CVSS 5.8 (Medium)
Publicly Published August 14, 2024
Last Updated August 16, 2024
Researcher vgo0

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.

References

Share

Vulnerability Details for Insert PHP Code Snippet

Software Type Plugin
Software Slug insert-php-code-snippet (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.3.7, or a newer patched version
Affected Version
  • <= 1.3.6
Patched Version
  • 1.3.7

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation