Summary
CVE-2026-66609 is an unauthenticated blind SQL injection vulnerability affecting the TheGem (Elementor) WordPress theme, developed by CodexThemes, in versions up to and including 5.12.3. The flaw allows an attacker with no authentication or user interaction to inject malicious SQL via the network, and carries a critical CVSS v3.1 score of 9.3.
Technical details
- Root cause: Improper neutralization of special elements used in SQL commands (CWE-89) within the TheGem theme codebase, allowing unsanitized input to reach a SQL query.
- Trigger conditions: No authentication or privileges are required; no user interaction is needed to exploit the flaw.
- Attack vector: Network-based (AV:N), low attack complexity (AC:L), exploitable remotely against any internet-exposed WordPress site running the vulnerable theme.
- Impact: Blind SQL injection with a changed scope (S:C), resulting in high confidentiality impact (unauthorized data disclosure from the database) and low availability impact; integrity is not affected.
Affected software
- CodexThemes TheGem (Elementor) theme — all versions up to and including 5.12.3
Severity
- CVSS v3.1 Base Score: 9.3 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
Mitigation and recommended actions
- Immediate: Update the TheGem (Elementor) WordPress theme to version 5.12.3.1 or later, where this issue has been fixed.
- If immediate patching is not possible: Restrict or monitor direct internet exposure of the affected WordPress installation, enable a web application firewall with SQL injection rule sets, and audit database access logs for anomalous query patterns until the theme can be updated.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
/wp-content/themes/thegem-elementor/

