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

Published Aug 15, 2024
·
Updated

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 Software

1 affected component
xyzscripts Insert PHP Code Snippet<1.3.7

Event History

Aug 15, 2024
CVE Published
via MITRE·02:30 AM
Data Sourced
via MITRE·02:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-7420?

CVE-2024-7420 is considered a medium severity vulnerability due to its potential for Cross-Site Request Forgery attacks.

2

How do I fix CVE-2024-7420?

To mitigate CVE-2024-7420, update the Insert PHP Code Snippet plugin to version 1.3.7 or later.

3

Who is affected by CVE-2024-7420?

All versions of the Insert PHP Code Snippet plugin prior to 1.3.7 are affected by CVE-2024-7420.

4

What type of vulnerability is CVE-2024-7420?

CVE-2024-7420 is classified as a Cross-Site Request Forgery (CSRF) vulnerability.

5

When was CVE-2024-7420 disclosed?

CVE-2024-7420 was disclosed on October 15, 2024.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203