Live threats

All CVEs / Xyzscripts

CVE-2024-7420Xyzscripts Insert Php Code Snippet

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 22
Auth required
No
Published
Aug 15, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Insert Php Code Snippet.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
xyzscriptsinsert_php_code_snippet< 1.3.7

Official sources

References

Links published by the sources. Open them with care.