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: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive Data Exposure
Action: Immediate Patch
AI Analysis

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.

Generated by OpenCVE AI on October 9, 2026 at 19:06 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 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 yet.

History

Fri, 09 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 09 Oct 2026 15:30:00 +0000

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'}


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-09T14:50:08.594Z

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

Link: CVE-2026-106097

cve-icon Vulnrichment

Updated: 2026-10-09T14:44:59.854Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-09T15:17:08.503

Link: CVE-2026-106097

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T19:15:12Z

Weaknesses
  • CWE-89

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