Plugin vulnerabilities
Is Code Snippets safe? Known vulnerabilities and the version to run.
Code Snippets: runs custom PHP, CSS and JavaScript snippets from the dashboard instead of a theme's functions file.
The short answer
Run Code Snippets 4.1.0 or later. That version has a fix for every known vulnerability that's been patched.
- Known vulnerabilities
- 10
- In the last 12 months
- 5
- Rated high or critical
- 2
- No fix yet
- 0
Every known Code Snippets vulnerability
Newest first. The most recent was disclosed on 11 November 2026. Each one links to its full record on Wordfence.
| Vulnerability | Severity | Affected versions | Fixed in |
|---|---|---|---|
| Missing AuthorizationCVE-2026-106468 · 11 November 2026 | Low 2.7 | before 4.1.0 | 4.1.0 |
| Missing AuthorizationCVE-2026-106095 · 7 October 2026 | Low 2.7 | 3.9.0 and earlier | 3.10.0 |
| Authenticated (Administrator+) SQL InjectionCVE-2026-106097 · 7 October 2026 | Medium 4.9 | 3.9.0 and earlier | 3.10.0 |
| Cross-Site Request Forgery to Cloud Snippet Download/Update ActionsCVE-2026-1785 · 5 February 2026 | Medium 4.3 | 3.9.4 and earlier | 3.9.5 |
| Authenticated (Contributor+) PHP Code Injection via extract() and PHP Filter ChainsCVE-2025-13035 · 18 November 2025 | High 8.0 | 3.9.1 and earlier | 3.9.2 |
| Cross-Site Request Forgery via loadCVE-2023-47666 · 6 November 2023 | Medium 5.4 | before 3.6.0 | 3.6.0 |
| Reflected Cross-Site ScriptingCVE-2022-25617 · 18 May 2022 | Medium 4.7 | 2.14.3 and earlier | 2.14.4 |
| Reflected Cross-Site ScriptingCVE-2021-25008 · 27 December 2021 | Medium 6.1 | before 2.14.3 | 2.14.3 |
| Cross-Site Request Forgery to Remote Code ExecutionCVE-2020-8417 · 29 January 2020 | High 8.8 | 2.13.3 and earlier | 2.14.0 |
| Reflected Cross-Site Scripting24 July 2016 | Medium 6.1 | before 2.7.0 | 2.7.0 |
If you run Code Snippets
What to do now
- Check your version. In WordPress, go to Plugins and look under Code Snippets. Compare it with the affected versions above.
- Update to 4.1.0 or later. Take a backup first, then update. If the update breaks something, you can restore the backup while you work out why.
- Check the rest of your site. One outdated plugin is rarely the only one. Our free security check looks at your WordPress version, and the plugins and theme it can see from the outside, for known flaws and emails you a report.
Pressfort keeps your plugins up to date for you, testing each update on a copy of your site first, and its virtual patching blocks attacks on newly disclosed flaws, often before a fix is out. If your site does get hacked, two clean-ups a year are included, with a developer stepping in when needed. See how it works.
Site tools and admin
Related plugins
WPCode
Adds code snippets, tracking scripts and custom PHP to a site without editing theme files.
5 known2 in the last year
Better Search Replace
Runs search and replace across the database, often used when moving a site to a new domain.
2 known
Complianz
Adds a cookie consent banner and blocks tracking scripts until visitors agree.
25 known8 in the last year
ManageWP Worker
Connects a site to ManageWP so it can be updated and backed up from one dashboard.
4 known3 in the last year
WP File Manager
A plugin for managing your site's files from inside the WordPress dashboard.
16 known3 in the last year
MainWP Child
Connects a site to a MainWP dashboard so it can be managed alongside others.
9 known2 in the last year
Data sources and licences
Vulnerability data comes from Wordfence Intelligence and is refreshed daily. Severity is the CVSS score given in each record. Pressfort is not affiliated with Wordfence or Defiant Inc.
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
Not sure yet?
Find out how exposed your site is.
Send us your site address and get a free, plain-English report of what we find. We check from the outside, so there are no logins to hand over and nothing to install.
- Known vulnerability in 1 pluginGallery plugin, file upload flawUrgent
- WordPress is out of dateRunning 6.7.1, latest is 6.8.3To fix
- 6 plugins and 1 theme out of dateOldest is 14 months behindTo fix