Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-7420: CWE-352 Cross-Site Request Forgery (CSRF) in f1logic Insert PHP Code Snippet

0
Medium
VulnerabilityCVE-2024-7420cvecve-2024-7420cwe-352
Published: Thu Aug 15 2024 (08/15/2024, 02:30:35 UTC)
Source: CVE Database V5
Vendor/Project: f1logic
Product: 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

AILast updated: 04/09/2026, 15:04:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses