Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as subsite Administrator
-
DeliveryAccess Code Snippets import/migration endpoint
-
ExploitInject UNION-based SQL via unsanitized parameter
-
ExecutionRead shared network tables
-
ImpactExfiltrate network-wide password hashes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires WordPress Multisite ('network') deployment with the Code Snippets plugin (before 3.10.0) installed network-wide, AND the attacker must already hold site-administration capabilities - specifically a subsite Administrator role - but need NOT be a network Super Admin. The exploit targets the snippet-migration import endpoints, so those endpoints must be reachable by that role. LIMITING FACTORS: no anonymous/unauthenticated path (PR:H); the high-value cross-subsite data disclosure is meaningful primarily in multi-tenant Multisite networks where subsite admins are untrusted - on a single-site install the acting admin would already have legitimate database access, sharply reducing real-world impact. No end-user interaction is required (UI:N). |
| Impact | This is a genuine but mid-tier priority rather than an emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N = 6.8 Medium) is internally consistent with the description: exploitation is network-reachable and low-complexity, but requires PR:H - site-administration capabilities - so it is NOT unauthenticated. The scope change (S:C) is well justified because a subsite Administrator, confined to their own site, can read network-wide shared tables, crossing a privilege/authorization boundary. All exploitation signals point the same direction and do not conflict: EPSS is low at 0.16% (4th percentile), SSVC reports Exploitation: none and Automatable: no with only partial technical impact, and the CVE is NOT on CISA KEV. The one escalating signal is that publicly available exploit code exists (WPScan). Taken together, POC availability raises the floor on who can attempt this, but the high-privilege prerequisite and lack of automatability keep real-world mass-exploitation probability low - this most plausibly matters in WordPress Multisite environments that delegate subsite administration to semi-trusted tenants, where it enables privilege-boundary violation (e.g. harvesting other users' password hashes). Note: the low EPSS/SSVC exploitation rating despite a public POC suggests opportunistic or targeted use against specific multisite hosters rather than widespread scanning. |
| Exploit ScenarioDerived | A WordPress Multisite network grants a tenant subsite Administrator rights but deliberately withholds network Super Admin. That user invokes the Code Snippets migration/import endpoint and supplies a crafted value in the vulnerable parameter to perform UNION-based SQL injection against shared network tables, reading data outside their subsite such as other users' password hashes. Public exploit code from WPScan lowers the skill barrier; the attack is network-delivered and low-complexity but requires the attacker to already hold site-administration capabilities. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
SQL injection in the Code Snippets WordPress plugin before version 3.10.0 allows a site Administrator - on a WordPress Multisite network that means a subsite Administrator, not a network Super Admin - to run UNION-based queries against shared network tables via the plugin's snippet-migration import endpoints, exposing network-wide data such as other users' password hashes. The flaw requires an authenticated account with site-administration capabilities (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N, base 6.8), so there is no anonymous exploitation path; publicly available exploit code exists and the WPScan advisory documents the vector, but EPSS is low (0.16%, 4th percentile) and CISA SSVC records no observed exploitation. Real-world impact is concentrated in multi-tenant Multisite networks where subsite admins are untrusted, since on a single-site install the acting administrator already has legitimate database access.
RemediationAI
Apply the vendor-released patch: upgrade the Code Snippets plugin to version 3.10.0 or later, which is the fixed release per the vendor/WPScan advisory at https://wpscan.com/vulnerability/f5206366-2e9c-42d5-90b9-ddfaf39aa02f/. Because exploitation requires an authenticated site-Administrator role, the most effective compensating control on Multisite networks is to remove the plugin's snippet-management and migration-import capabilities from subsite Administrators - for example by filtering the Administrator role's capabilities (manage_options-adjacent snippet capabilities) so only trusted network Super Admins retain them; the trade-off is that subsite admins lose the ability to manage their own snippets and migrations, and any existing automation relying on that role will break. If the plugin can be scoped to Super Admins only, install or network-activate it exclusively for the network administration context. Where upgrade or role restriction is not immediately possible, restrict the snippet-migration import endpoints at the web tier (block or geo/IP-restrict requests to those admin-ajax/admin-post routes for non-Super-Admin sessions), though this is brittle against endpoint changes, and deploy WAF signatures that flag UNION SELECT patterns in plugin import parameters as a detection-and-partial-blocking measure rather than a fix. If exploitation is suspected, treat the network's credential store as compromised: force a network-wide password reset and rotate any secrets stored in wp_users/wp_usermeta, since the injection can disclose password hashes across all subsites.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-89 (SQL injection): one or more user-supplied parameters handled by the plugin's snippet-migration import routines are concatenated into a SQL statement without sanitisation or parameterisation, letting the caller inject a UNION SELECT and steer the query toward arbitrary tables. Code Snippets is a widely deployed WordPress plugin that stores and executes PHP snippets; its import/export-style migration endpoints are the affected surface, and they are reachable by any user holding site-administration capabilities (for example the manage capability set granted to Administrators). On a standard single-site WordPress install the shared database is the same one the acting admin already controls, so the information-disclosure value is limited. The meaningful case is WordPress Multisite, where each subsite has its own Administrator role but all subsites share the network-level tables (wp_users, wp_usermeta, wp_site, wp_blogs, and similar). A subsite Administrator - explicitly not required to be a network Super Admin - can therefore reach across the tenant boundary and read network-wide records, including password hashes, which is why the CVSS vector scores Scope as Changed (S:C) and Confidentiality as High while Integrity and Availability remain None. The tracking CPE is recorded as cpe:2.3:a:unknown:code_snippets:*:*:*:*:*:*:*:*, i.e. the vendor is unclassified in the feed but the affected package is confirmed as the Code Snippets plugin, matching ENISA EUVD's affected range of Code Snippets 0 to <3.10.0 (EUVD-2026-95507).
Know when Code Snippets gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Network-reachable low-complexity endpoint but needs site-admin capability (PR:H); scope changes (S:C) as a subsite admin reads network-wide tables; UNION SQLi discloses data only, so C:H, I:N, A:N.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The Code Snippets WordPress plugin before 3.10.0 does not sanitise and escape a user-supplied parameter before using it in a SQL query in some of its snippet-migration import endpoints, which are accessible to any user holding site-administration capabilities; on a WordPress Multisite network those belong to subsite Administrators, allowing a subsite Administrator who is not a network Super Admin to perform UNION-based SQL injection against shared network tables and disclose network-wide data such as other users' password hashes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Code Snippets
View allThe Code Snippets plugin before 2.14.0 for WordPress allows CSRF because of the lack of a Referer check on the import me
Subsite administrators on WordPress multisite networks running the Code Snippets plugin before 3.10.0 can activate, deac
Reflected Cross-Site Scripting (XSS) vulnerability in Code Snippets plugin <= 2.14.3 at WordPress via &orderby vulnerabl
Cross-Site Request Forgery (CSRF) vulnerability in Code Snippets Pro Code Snippets.5.0. Rated medium severity (CVSS 4.3)
EUVD-2026-95507
GHSA-6xh4-5cg9-76mq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB