Code Snippets at a glance
- 10 publicly disclosed vulnerabilities, 2 of them rated High or Critical. The most recent was disclosed on Nov 11, 2026.
- Ranked #29 by popularity on WordPress.org (1+ million active installs).
- The latest version is 4.1.0 (released Nov 6, 2026). The most recent security fix shipped in 4.1.0.
- Every disclosed vulnerability has a fix. If you are on the latest version, none of them apply to you.
- The first thing to do: update to the latest version and turn on automatic updates.
Check your Code Snippets version
Enter the Code Snippets version number shown on your Plugins screen to see only the vulnerabilities that apply to it, most serious first.
Your version number is compared on this page only. It is not sent anywhere.
Get an email when a new vulnerability is disclosed
We'll tell you when a new vulnerability is disclosed in “Code Snippets”, with the version that fixes it. Free, email address only, stop any time.
We use your email address only for these alerts. Privacy policy
Want every plugin and theme on your site checked daily?
With Security Ready Standard, just install the “KazLinks Security Ready” plugin from WordPress.org. It sends only the names and versions of your plugins and themes, and we check them against disclosed vulnerabilities every day. Your first in-depth scan is free.
How to check whether your site is affected
- 1
Find your version
In your WordPress dashboard, open Plugins → Installed Plugins and look at the version number under “Code Snippets”.
- 2
Compare it with the list below
If your version falls within “Affected versions”, that vulnerability applies to you. If you are on the “Fixed in” version or later, it does not.
- 3
Update
Click “Update now” to move to the latest version (4.1.0). Taking a backup first is a good idea.
- 4
Turn on automatic updates
On the same screen, click “Enable auto-updates” so future fixes are installed automatically.
Known Code Snippets vulnerabilities
Code Snippets < 4.1.0 - Missing Authorization
Missing authorization · CVE-2026-106468
Affected versions: < 4.1.0
Fixed in: 4.1.0
Severity: Low 2.7 · Disclosed Nov 11, 2026
Code Snippets <= 3.9.0 - Authenticated (Administrator+) SQL Injection
SQL injection · CVE-2026-106097
Affected versions: ≤ 3.9.0
Fixed in: 3.10.0
Severity: Medium 4.9 · Disclosed Oct 7, 2026
Code Snippets <= 3.9.0 - Missing Authorization
Missing authorization · CVE-2026-106095
Affected versions: ≤ 3.9.0
Fixed in: 3.10.0
Severity: Low 2.7 · Disclosed Oct 7, 2026
Code Snippets <= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update Actions
Cross-site request forgery (CSRF) · CVE-2026-1785
Affected versions: ≤ 3.9.4
Fixed in: 3.9.5
Severity: Medium 4.3 · Disclosed Feb 5, 2026
Code Snippets <= 3.9.1 - Authenticated (Contributor+) PHP Code Injection via extract() and PHP Filter Chains
Remote code execution · CVE-2025-13035
Affected versions: ≤ 3.9.1
Fixed in: 3.9.2
Severity: High 8 · Disclosed Nov 18, 2025
Code Snippets <= 3.5.0 - Cross-Site Request Forgery via load
Cross-site request forgery (CSRF) · CVE-2023-47666
Affected versions: < 3.6.0
Fixed in: 3.6.0
Severity: Medium 5.4 · Disclosed Nov 6, 2023
Code Snippets <= 2.14.3 - Reflected Cross-Site Scripting
Cross-site scripting (XSS) · CVE-2022-25617
Affected versions: ≤ 2.14.3
Fixed in: 2.14.4
Severity: Medium 4.7 · Disclosed May 18, 2022
Code Snippets <= 2.14.2 - Reflected Cross-Site Scripting
Cross-site scripting (XSS) · CVE-2021-25008
Affected versions: < 2.14.3
Fixed in: 2.14.3
Severity: Medium 6.1 · Disclosed Dec 27, 2021
Code Snippets <= 2.13.3 - Cross-Site Request Forgery to Remote Code Execution
Cross-site request forgery (CSRF) · CVE-2020-8417
Affected versions: ≤ 2.13.3
Fixed in: 2.14.0
Severity: High 8.8 · Disclosed Jan 29, 2020
Code Snippets < 2.7.0 - Reflected Cross-Site Scripting
Cross-site scripting (XSS)
Affected versions: < 2.7.0
Fixed in: 2.7.0
Severity: Medium 6.1 · Disclosed Jul 24, 2016
| Vulnerability | Affected versions | Fixed in | Severity | Disclosed |
|---|---|---|---|---|
| Code Snippets < 4.1.0 - Missing AuthorizationMissing authorization · CVE-2026-106468 | < 4.1.0 | 4.1.0 | Low 2.7 | Nov 11, 2026 |
| Code Snippets <= 3.9.0 - Authenticated (Administrator+) SQL InjectionSQL injection · CVE-2026-106097 | ≤ 3.9.0 | 3.10.0 | Medium 4.9 | Oct 7, 2026 |
| Code Snippets <= 3.9.0 - Missing AuthorizationMissing authorization · CVE-2026-106095 | ≤ 3.9.0 | 3.10.0 | Low 2.7 | Oct 7, 2026 |
| Code Snippets <= 3.9.4 - Cross-Site Request Forgery to Cloud Snippet Download/Update ActionsCross-site request forgery (CSRF) · CVE-2026-1785 | ≤ 3.9.4 | 3.9.5 | Medium 4.3 | Feb 5, 2026 |
| Code Snippets <= 3.9.1 - Authenticated (Contributor+) PHP Code Injection via extract() and PHP Filter ChainsRemote code execution · CVE-2025-13035 | ≤ 3.9.1 | 3.9.2 | High 8 | Nov 18, 2025 |
| Code Snippets <= 3.5.0 - Cross-Site Request Forgery via loadCross-site request forgery (CSRF) · CVE-2023-47666 | < 3.6.0 | 3.6.0 | Medium 5.4 | Nov 6, 2023 |
| Code Snippets <= 2.14.3 - Reflected Cross-Site ScriptingCross-site scripting (XSS) · CVE-2022-25617 | ≤ 2.14.3 | 2.14.4 | Medium 4.7 | May 18, 2022 |
| Code Snippets <= 2.14.2 - Reflected Cross-Site ScriptingCross-site scripting (XSS) · CVE-2021-25008 | < 2.14.3 | 2.14.3 | Medium 6.1 | Dec 27, 2021 |
| Code Snippets <= 2.13.3 - Cross-Site Request Forgery to Remote Code ExecutionCross-site request forgery (CSRF) · CVE-2020-8417 | ≤ 2.13.3 | 2.14.0 | High 8.8 | Jan 29, 2020 |
| Code Snippets < 2.7.0 - Reflected Cross-Site ScriptingCross-site scripting (XSS) | < 2.7.0 | 2.7.0 | Medium 6.1 | Jul 24, 2016 |
Vulnerability data: Wordfence Intelligence (Copyright Defiant, Inc. · license terms). Severity is the CVSS score (0–10). Most recent disclosure: Nov 11, 2026.
Most common weaknesses in Code Snippets
Cross-site request forgery (CSRF)
3 issues
If an administrator who is logged in opens a booby-trapped page elsewhere, the site can be made to change settings without their knowledge.
Cross-site scripting (XSS)
3 issues
An attacker plants a malicious script on a page so that it runs in visitors’ browsers. If an administrator opens that page, the attacker can steal their session or act as the administrator.
Missing authorization
2 issues
Actions that should require a login or a particular role can be carried out without the proper check. Attackers use this to change settings or read data they should not see.
Frequently asked questions
Is Code Snippets safe to use?
Code Snippets is a well-known plugin with 1+ million active installs. Finding vulnerabilities in popular plugins is common, and most of them are fixed in newer versions. The important thing is to stay on the latest version (4.1.0) and turn on automatic updates.
How do I find which version of Code Snippets my site is running?
In your WordPress dashboard, go to Plugins → Installed Plugins. The version number is shown under the plugin name. If you see “There is a new version available”, you are on an older version.
Could updating break my site?
Occasionally an update changes how something looks or works, so take a backup before updating. If an agency or developer maintains your site, send them a link to this page and ask them to update.
Can I check all my other plugins too?
Yes. Security Ready reads the versions of every plugin and theme on your site, matches them against known vulnerabilities every day, and tells you what to fix. Your first in-depth scan is free.
Check every plugin and theme automatically, every day
Security Ready reads the versions of every plugin, theme and WordPress core on your site, matches them against known vulnerabilities every day, and tells you how to fix what it finds. Your first in-depth scan is free, and no payment details are needed.
Think your site has already been hacked? Before updating, read what to do in the first hour. Updating alone does not remove a backdoor that has already been planted.