CVE-2024-7420: CWE-352 Cross-Site Request Forgery (CSRF) in f1logic Insert PHP Code Snippet
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.
AI Analysis
Technical Summary
CVE-2024-7420 is a CSRF vulnerability in the Insert PHP Code Snippet WordPress plugin (up to version 1.3.6) caused by missing or incorrect nonce validation in the /admin/snippets.php file. This allows attackers to perform unauthorized state-changing actions (activate, deactivate, delete snippets) by tricking an authenticated administrator into submitting a crafted request. The vulnerability does not require privileges or user interaction beyond the administrator clicking a malicious link. CVE-2024-43275 is a duplicate of this issue. No official patch or fix has been documented yet.
Potential Impact
An attacker can cause an authenticated site administrator to unknowingly execute actions that modify code snippets, potentially altering site behavior or introducing malicious code. While the vulnerability does not directly disclose data or cause denial of service, it can lead to integrity issues by unauthorized modification of PHP code snippets. The CVSS score of 5.8 reflects a medium severity impact with no confidentiality or availability impact but with integrity impact and no required privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should avoid clicking on suspicious links and consider restricting access to the plugin's administrative interface. Implementing additional CSRF protections or nonce validation manually may mitigate the risk. Monitoring for updates from the plugin vendor is recommended.
CVE-2024-7420: CWE-352 Cross-Site Request Forgery (CSRF) in f1logic Insert PHP Code Snippet
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-7420 is a CSRF vulnerability in the Insert PHP Code Snippet WordPress plugin (up to version 1.3.6) caused by missing or incorrect nonce validation in the /admin/snippets.php file. This allows attackers to perform unauthorized state-changing actions (activate, deactivate, delete snippets) by tricking an authenticated administrator into submitting a crafted request. The vulnerability does not require privileges or user interaction beyond the administrator clicking a malicious link. CVE-2024-43275 is a duplicate of this issue. No official patch or fix has been documented yet.
Potential Impact
An attacker can cause an authenticated site administrator to unknowingly execute actions that modify code snippets, potentially altering site behavior or introducing malicious code. While the vulnerability does not directly disclose data or cause denial of service, it can lead to integrity issues by unauthorized modification of PHP code snippets. The CVSS score of 5.8 reflects a medium severity impact with no confidentiality or availability impact but with integrity impact and no required privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should avoid clicking on suspicious links and consider restricting access to the plugin's administrative interface. Implementing additional CSRF protections or nonce validation manually may mitigate the risk. Monitoring for updates from the plugin vendor is recommended.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-08-02T13:50:48.427Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c16b7ef31ef0b55fcdb
Added to database: 2/25/2026, 9:39:34 PM
Last enriched: 4/9/2026, 3:04:41 PM
Last updated: 4/12/2026, 7:57:00 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.