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.
Published: 2026-10-09
Score: n/a
EPSS: n/a
KEV: No
Impact: Sensitive Data Exposure
Action: Immediate Patch
AI Analysis

Impact

The Code Snippets WordPress plugin prior to version 3.10.0 contains a SQL injection flaw in its snippet‑migration import endpoints. Unsanitised user input is directly interpolated into a SQL query, allowing authenticated site administrators to craft UNION-based injections that reach shared network tables. This flaw is not accidental; it is a classic injection weakness that leads to the disclosure of sensitive data, such as other users' password hashes, across a multisite network.

Affected Systems

The vulnerability affects the Code Snippets plugin for WordPress versions earlier than 3.10.0. In a multisite deployment, any subsite administrator who is not a network super administrator can exploit the flaw, because subsite administrators have permission to access the migration importer endpoints.

Risk and Exploitability

The issue is not listed in the CISA KEV catalog, and EPSS data is not available, but the inherent capability to read network‑wide user credentials creates a high potential impact. An attacker who gains site‑admin privileges can construct a UNION‑based payload, force execution of the query, and retrieve hashed passwords from shared tables. The lack of published exploit code does not diminish the likelihood of exploitation, especially on networks with many subsite administrators. Given the severity of credential exposure, the recommended response is to patch immediately.

Generated by OpenCVE AI on October 9, 2026 at 07:21 UTC.

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 unexpected execution of legacy migration endpoints remains and audit subsites for elevated privileges that are no longer needed.

Generated by OpenCVE AI on October 9, 2026 at 07:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-89

Fri, 09 Oct 2026 06:45:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-09T06:00:09.067Z

Reserved: 2026-10-06T15:25:36.903Z

Link: CVE-2026-106097

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-09T07:17:17.997

Modified: 2026-10-09T07:17:17.997

Link: CVE-2026-106097

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T07:30:18Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-89

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