SQL injection in Code Snippets plugin exposes network-wide credentials
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-89.
Summary
The Code Snippets WordPress plugin before 3.10.0 does not sanitise a user-supplied parameter used in a SQL query in some snippet-migration import endpoints. On a WordPress Multisite network, a subsite Administrator who is not a network Super Admin can exploit this SQL injection (CWE-89) to read shared network tables, including other users' password hashes. The references link a public exploit.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Code Snippets | before 3.10.0 | 3.10.0 | Patch available | CNA |
- Code Snippets VendorUnknown Affected before 3.10.0 Fixed in 3.10.0 Patch available CNA
Remediation
Update Code Snippets to version 3.10.0 or later, which is the fixed version listed for this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA Code Snippets (Unknown) Fixed in 3.10.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Code Snippets 3.10.0
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-69859 Network-scoped snippet activation flaw in Code Snippets WordPress pluginPriority LOW 15
Timeline
- 2026-10-09 Threatist record created from CVE-2026-106097
- 2026-10-09 Alias added: GHSA-6xh4-5cg9-76mq
- 2026-10-10 CVSS score added · CISA ADP
- 2026-10-10 Weakness changed · CISA ADP
- 2026-10-10 CISA SSVC decision points changed
References
Sources
- CVE-2026-106097 · CVE Program
- CVE-2026-106097 · NVD
- FIRST EPSS
- GHSA-6xh4-5cg9-76mq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences