CVE Professor
›
Back
CVE-2026-106097

CVE-2026-106097 — The Code Snippets WordPress plugin — CWE-89

MEDIUM CVSS 6.8 NVD

CVE-2026-106097 is a MEDIUM severity SQL Injection (SQLi) vulnerability (CWE-89) (CVSS 6.8/10) affecting The Code Snippets WordPress plugin. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with high privileges (PR:H) with zero user interaction (UI:N), triggering a scope change (S:C) across connected components and allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

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 09.10.2026
ISO Date 2026-10-09
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. High PR:H
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-106097
CVSS 6.8/10 · MEDIUM · 09.10.2026
CWE: CWE-89
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
SQL Injection (SQLi)
Summary: 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 Adm…

⚡ ATTACK CHAIN
Attack steps:
1. Identify injectable parameters (URL params, form fields, HTTP headers, cookies).
2. Basic test: ' OR '1'='1 — look for errors or behavior changes.
3. UNION-based extraction: ' UNION SELECT user(),database()--
4. Automated: sqlmap -u 'TARGET_URL' --dbs --dump --batch
5. Time-based blind: '; IF(1=1) WAITFOR DELAY '0:0:5'--
6. Post-exploitation: dump credentials, write webshell via INTO OUTFILE '/var/www/shell.php'.

🔧 Tools: sqlmap, Burp Suite (Intruder), manual
🗺️ MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1078 (Valid Accounts)

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; pivot to other systems possible.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Use prepared statements and parameterized queries.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="/wp-content/plugins/code-snippets"
CVSS Score
6.8 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-89
References & Advisories (1)
Related CVEs
9.4
CVE-2026-55508
Wavelog is web-based amateur radio logging software. Prior to 2.5, the callsign parameter accepted by POST /oq
9.4
CVE-2026-130706
NocoDB before 2026.09.0 contains an sql injection vulnerability that allows authenticated Creator or Owner use
8.8
CVE-2026-130689
NocoDB before 2026.10.0 contains an sql injection vulnerability that allows authenticated users with the Creat
8.8
CVE-2026-63129
mssql-mcp-core is the shared library that powers MSSQL MCP servers. Prior to core and server 0.6.0 and reader
8.8
CVE-2026-131851
ILIAS before 9.25, 10.13, and 11.6 contains an SQL injection vulnerability in ilPRGAssignmentFilter::toConditi
8.6
CVE-2026-131850
ILIAS 11.0 before 11.6 contains an sql injection vulnerability in RegistrationCodeRepository::getCodesData() t