Plugins · insert-php-code-snippet · data as of 2026-11-29
Is Insert PHP Code Snippet safe? Known vulnerabilities and latest version
- Latest version
- 1.4.8
- Last updated
- 2026-11-11
- Active installs
- 90,000+
- Known issues on record
- 3
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.5
Add PHP code to your pages and posts easily using shortcodes. — by f1logic
What to do
- Update to the latest version (1.4.8). Anything older than 1.4.4 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.
With WP-CLI: wp plugin get insert-php-code-snippet --field=version shows what you run; wp plugin update insert-php-code-snippet updates it.
Check your version
Running more than one plugin? Paste your whole plugin list and check them all at once.
Known vulnerabilities
3 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.
medium 4.3 CVE-2025-64356 · published 2025-10-31
Missing authorization check in Insert PHP Code Snippet (1.4.3 and older)
- Affected
- 1.4.3 and older
- Fixed in
- 1.4.4
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record · score by Patchstack
Details from the advisory
Missing Authorization vulnerability in f1logic Insert PHP Code Snippet insert-php-code-snippet allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Insert PHP Code Snippet: from n/a through <= 1.4.3.
medium 6.5 CVE-2024-7420 · published 2024-08-15
Cross-site request forgery (CSRF) in Insert PHP Code Snippet (1.3.6 and older)
- Affected
- 1.3.6 and older
- Fixed in
- 1.3.7 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
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.
NVD CVE-2024-7420Wordfence advisoryCode change (fix)Plugin source
medium 4.8 CVE-2024-0658 · published 2024-02-29
Stored cross-site scripting (XSS) in Insert PHP Code Snippet (1.3.4 and older)
- Affected
- 1.3.4 and older
- Fixed in
- 1.3.5 *
- Access needed (per CVSS)
- Needs an admin-level account; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
The Insert PHP Code Snippet plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the user's name when accessing the insert-php-code-snippet-manage page in all versions up to, and including, 1.3.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Recent activity
- 2026-11-11 — latest release on wordpress.org (1.4.8).
- 2025-10-31 — Missing authorization check disclosed (CVE-2025-64356), fixed in 1.4.4.
- 2024-08-15 — Cross-site request forgery (CSRF) disclosed (CVE-2024-7420), fixed in 1.3.7.
- 2024-02-29 — Stored cross-site scripting (XSS) disclosed (CVE-2024-0658), fixed in 1.3.5.
Get an email when Insert PHP Code Snippet has a new vulnerability
Free. One email when a new Insert PHP Code Snippet issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Closed on wordpress.org
- Check your whole plugin list
- Plugins by f1logic (5 tracked)
Types found in this plugin: Missing authorization (1) · Cross-site request forgery (CSRF) (1) · Cross-site scripting (XSS) (1)
Questions about Insert PHP Code Snippet
Is Insert PHP Code Snippet safe to use?
No known unpatched vulnerabilities in the latest version (1.4.8). As of 2026-11-29. 3 issues are on record for older versions; version 1.4.4 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Insert PHP Code Snippet on the latest version (1.4.8) and remove it if you do not use it.
Which versions of Insert PHP Code Snippet are vulnerable?
Known issues on record (newest first): Missing authorization check (1.4.3 and older, fixed in 1.4.4); Cross-site request forgery (CSRF) (1.3.6 and older, fixed in 1.3.7); Stored cross-site scripting (XSS) (1.3.4 and older, fixed in 1.3.5). The full list with sources is on this page.
What is the latest version of Insert PHP Code Snippet?
1.4.8, according to wordpress.org (last updated 2026-11-11). It has 90,000+ active installs.
What should I do if my Insert PHP Code Snippet is out of date?
Take a backup, then update it from Dashboard > Updates (or run wp plugin update insert-php-code-snippet). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/insert-php-code-snippet (Plugins API), fetched 2026-11-29.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- We list a CVE only when its references or advisory name this exact plugin, so a few real issues may be missing. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/insert-php-code-snippet"><img src="https://laskyr.com/plugins/insert-php-code-snippet/badge.svg" alt="Insert PHP Code Snippet vulnerability status"></a>