CVE-2026-106097

Code Snippets < 3.10.0 - Admin+ SQLi in Migration Importers Leading to Network-Wide Credential Disclosure (Multisite)

Published Oct 9, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The Code Snippets WordPress plugin, any version prior to 3.10.0, contains a SQL injection flaw in its snippet‑migration import endpoints. Unsanitised user input is interpolated directly into an SQL query, allowing site administrators to craft UNION‑based payloads that can read data from shared network tables, including other users’ password hashes.

Affected Systems

The flaw affects WordPress sites that employ the Code Snippets plugin with a version lower than 3.10.0. In a multisite environment, any subsite administrator who is not a network super administrator can access the vulnerable import endpoints and exploit the injection to obtain network‑wide data.

Risk and Exploitability

With a CVSS score of 6.8 and an EPSS score below 1%, the vulnerability is not listed in the CISA KEV catalog, yet it offers a moderate‑to‑high risk because it enables credential disclosure across the network. The exploit requires authentication as a site administrator; although no public exploit is documented, the low probability does not diminish the severity of potential data exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Code Snippets plugin to version 3.10.0 or later.
  • If an immediate update is not possible, disable the migration import feature or restrict access to the endpoints so that only network super administrators can use them.
  • Verify that no legacy migration endpoints remain active and audit subsites for elevated privileges that are no longer necessary.

Generated by OpenCVE AI on October 9, 2026 at 19:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions code Snippets
Vendors & Products Wordpress-extensions
Wordpress-extensions code Snippets
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-200
CWE-89
Type Values Removed Values Added
Description 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.
Title Code Snippets < 3.10.0 - Admin+ SQLi in Migration Importers Leading to Network-Wide Credential Disclosure (Multisite)
References
Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 9, 2026, 2:50 PM
Reserved
Oct 6, 2026, 3:25 PM
Status
Deferred
Published
Oct 9, 2026, 7:17 AM
Modified
Oct 9, 2026, 3:17 PM