WordPress plugin · code-snippets
Is Code Snippets safe?
Safe on 4.0.0 or newer.
The current version, 4.0.0, is past every affected range on record (8 of 8 records list one). Keep it updated and you’re clear of them.
- Flaws on record
- 8
- High or critical
- 2
- Exploited
- none
- Current version
- 4.0.0
- Last updated
- Oct 21, 2026
- Active installs
- 1,000,000+
Every recorded flaw
- Oct 9, 2026Code Snippets: Does not sanitise and escape a user-supplied parameter before using it in a SQL query in some of its snippet-migration import endpointsCVE-2026-106097 · fixed in 3.10.0 · reported by WPScanMedium 6.8
- Oct 9, 2026Code Snippets: Does not perform a capability check on one of its snippet-management actions and derives the network scope of the targeted snippet from the request instead of from the stored recordCVE-2026-106095 · fixed in 3.10.0 · reported by WPScanLow 3.3
- Feb 6, 2026Code Snippets: Cross-Site Request ForgeryCVE-2026-1785 · affects up to 3.9.4 · reported by WordfenceMedium 4.3
- Nov 19, 2025Code Snippets: PHP Code InjectionCVE-2025-13035 · affects up to 3.9.1 · reported by WordfenceHigh 8
- Nov 18, 2023Code Snippets: Cross-Site Request Forgery (CSRF)CVE-2023-47666 · affects up to 3.5.0 · reported by PatchstackMedium 4.3
- May 18, 2022Code Snippets plugin <= 2.14.3 at: Reflected Cross-Site Scripting (XSS)CVE-2022-25617 · affects up to 2.14.3 · reported by PatchstackMedium 4.7
- Jan 24, 2022Code Snippets: Does not escape the snippets-safe-mode parameter before outputting it back in attributesCVE-2021-25008 · fixed in 2.14.3 · reported by WPScan2.3% oddsMedium 6.1
- Jan 28, 2020The Code Snippets plugin before 2.14.0 for WordPress allows CSRF because of the lack of a Referer check on the import menu.CVE-2020-8417 · fixed in 2.14.0 · reported by MITRE12% oddsHigh 8.8
Records come from the National Vulnerability Database, published by the researchers who found each flaw (Wordfence, Patchstack, WPScan and others); exploited status from CISA; exploit odds from FIRST’s EPSS; current version, installs and closures from wordpress.org, checked daily. Want every plugin on your site checked at once? Run the free website check.
Weekly security brief
The flaws that hit local websites, every Friday.
One short email: what got exploited this week, which WordPress plugins broke, and what to check. Unsubscribe in one click.
Tell us what you're building.
A website, your marketing, a security check, an app, or the thing you've been running out of a spreadsheet for three years. A few lines is plenty.
Not ready to talk yet? Run the free website check and see what Google sees.