← All plugins

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.

VulnerabilitySeverityAffected versionsFixed in
Missing AuthorizationCVE-2026-106468 · 11 November 2026Low 2.7before 4.1.04.1.0
Missing AuthorizationCVE-2026-106095 · 7 October 2026Low 2.73.9.0 and earlier3.10.0
Authenticated (Administrator+) SQL InjectionCVE-2026-106097 · 7 October 2026Medium 4.93.9.0 and earlier3.10.0
Cross-Site Request Forgery to Cloud Snippet Download/Update ActionsCVE-2026-1785 · 5 February 2026Medium 4.33.9.4 and earlier3.9.5
Authenticated (Contributor+) PHP Code Injection via extract() and PHP Filter ChainsCVE-2025-13035 · 18 November 2025High 8.03.9.1 and earlier3.9.2
Cross-Site Request Forgery via loadCVE-2023-47666 · 6 November 2023Medium 5.4before 3.6.03.6.0
Reflected Cross-Site ScriptingCVE-2022-25617 · 18 May 2022Medium 4.72.14.3 and earlier2.14.4
Reflected Cross-Site ScriptingCVE-2021-25008 · 27 December 2021Medium 6.1before 2.14.32.14.3
Cross-Site Request Forgery to Remote Code ExecutionCVE-2020-8417 · 29 January 2020High 8.82.13.3 and earlier2.14.0
Reflected Cross-Site Scripting24 July 2016Medium 6.1before 2.7.02.7.0

If you run Code Snippets

What to do now

  1. Check your version. In WordPress, go to Plugins and look under Code Snippets. Compare it with the affected versions above.
  2. 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.
  3. 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

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.

https://www.cve.org/Legal/TermsOfUse

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.

Security check
yourbusiness.com
Example
1 urgent2 to fix
  • 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