Unlimited Elements For Elementor — Unauthenticated Blind SQL Injection (CVE-2026-103355)
Published: 2026-11-25 • Researcher: Hassham1 (PoC repository; ikzero handle in the PoC/nuclei metadata); Patchstack (advisory and CNA)
- Severity
- Critical
- CVE
- CVE-2026-103355
- Category
- web
- Affected product
- Unlimited Elements For Elementor (Free Widgets, Addons, Templates) — WordPress plugin (unlimited-elements-for-elementor)
- Affected versions
- Up to and including 2.0.20; fixed in 2.0.21. The lab reproduces 2.0.20 as vulnerable and 2.0.21 as the patched negative control; versions ≤ 2.0.19 are affected per the advisory but were not individually tested upstream.
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-103355
- https://patchstack.com/database/wordpress/plugin/unlimited-elements-for-elementor/vulnerability/wordpress-unlimited-elements-for-elementor-free-widgets-addons-templates-plugin-2-0-20-sql-injection-vulnerability-2
- https://www.cve.org/CVERecord?id=CVE-2026-103355
- https://github.com/Hassham1/CVE-2026-103355-unlimited-elements-sqli-poc
- https://wordpress.org/plugins/unlimited-elements-for-elementor/
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-10-04 |
| Author / Researcher | Hassham1 (PoC repository; ikzero handle in the PoC/nuclei metadata); Patchstack (advisory and CNA) |
| CVE / Advisory | CVE-2026-103355 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.3 (CVSSv3.1, per Patchstack/NVD record; full vector string not included in the worklist data — see references) |
| Status | PoC |
| Tags | SQLi, blind-SQL-injection, WordPress, Elementor, Unlimited-Elements, unauthenticated, PHP, boolean-oracle, CWE-89, wp-plugin |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Unlimited Elements For Elementor (Free Widgets, Addons, Templates) — WordPress plugin (unlimited-elements-for-elementor) |
| Versions Affected | Up to and including 2.0.20; fixed in 2.0.21. The lab reproduces 2.0.20 as vulnerable and 2.0.21 as the patched negative control; versions ≤ 2.0.19 are affected per the advisory but were not individually tested upstream. |
| Language / Platform | PHP (WordPress plugin); Python 3.10+ exploit client; Docker/Compose lab |
| Authentication Required | No (unauthenticated per Patchstack CVSS privilege requirement) |
| Network Access Required | Yes |
Summary
The Unlimited Elements For Elementor plugin for WordPress takes the terms-listing direct children of selected terms identifiers from the widget settings and concatenates them straight into the terms query WHERE clause, so the stored identifier string is executed as SQL. The sink fires on the render path of any layout that contains the widget in that include mode, which the advisory classifies as unauthenticated and rates 9.3. The public PoC proves the injection with a read-only boolean oracle: a tautology payload renders every category in the term list and a falsity payload renders none. The vendor fix in 2.0.21 adds a digits-and-commas whitelist immediately before the concatenation, and the lab ships that patched release as a silent negative control.
Vulnerability Details
Root Cause
CWE-89. The uc_post_terms parameter processing copies the widget’s include_direct_children_of_selected_terms identifier array into UniteCreatorParamsProcessor::$arrIncludeDirectChildrenOfSelectedTermsIDs without validation, registers a terms_clauses filter, and then concatenates the array elements into the WHERE clause:
| |
| |
There is no prepare(), no intval(), and no array filtering — every element lands in the SQL verbatim. The 2.0.21 fix inserts the whitelist directly before the concatenation, and the upstream research notes it is the only SQLi change in the vendor diff:
| |
validateIDsList() throws Field parent terms id's allow only numbers and comas. on anything else.
Attack Vector
The query path observed upstream is:
| |
A terms-listing widget is configured with includeby = direct_children_of_selected_terms and the identifier array carrying the payload. Any visitor rendering that builder page causes get_terms() to run and the identifiers to be concatenated into AND tt.parent IN (...). The proof uses two pages whose stored identifiers are 999999) OR 1=1 -- and 999999) OR 1=2 -- ; the rendered term list is the blind boolean oracle. The upstream research deliberately does not claim request-side reachability of the identifier values: the lab provisions the payloads into the widget settings, which is exactly the value chain the 2.0.21 whitelist guards.
Impact
Arbitrary SQL execution inside the WordPress terms query, exercised here as a blind boolean oracle: an unauthenticated attacker who can reach a page rendered with the vulnerable widget mode can flip the injected predicate and read data from the WordPress database (the advisory rates confidentiality impact as high with CVSS 9.3). UNION, error-based and time-based extraction are trivial extensions of the same sink but are not included in the upstream PoC.
Environment / Lab Setup
OS: Linux x86_64 (Docker with Compose v2)
Target: WordPress 7.1.2 (wordpress:7.1.2-php8.2-apache) + MySQL 8.0,
Elementor 4.3.3, Unlimited Elements 2.0.20 (vulnerable) or
2.0.21 (patched negative control)
Attacker: Python 3.10+ (standard library only), same host or LAN
Tools: Docker Compose v2, curl, Python 3, wp-cli (bundled cli service)Setup Steps
| |
Proof of Concept
Step-by-Step Reproduction
Start the vulnerable lab —
./lab start vulnerablebuilds the 2.0.20 stack, installs WordPress, Elementor and the plugin, seeds a category tree, and provisions the two oracle pages. The page IDs are written to.lab-stateand printed (true page / false page).Shell script1 2./lab start vulnerable # [+] vulnerable lab ready at http://127.0.0.1:9489 (true page 9, false page 10)Render both oracle pages — the tautology page lists every category and the falsity page lists none; the term titles
[LabParent]/[LabChild1..3]are the oracle.Shell script1 2curl -s 'http://127.0.0.1:9489/?page_id=9' | grep -o '\[Lab[A-Za-z0-9]*\]' curl -s 'http://127.0.0.1:9489/?page_id=10' | grep -o '\[Lab[A-Za-z0-9]*\]'Run the PoC — it fetches both pages and compares the rendered term counts; the non-loopback guard must be overridden explicitly for authorized remote targets.
Shell script1 2 3python3 poc/poc_cve_2026_103355.py --url http://127.0.0.1:9489 \ --page-true 9 --page-false 10 # exit 0 = blind SQL injection confirmed, 1 = not observed, 2 = errorRun the patched negative control —
./lab start patchedand repeat; both payloads are rejected byvalidateIDsListand the oracle stays silent.Shell script1./lab start patched && ./lab test && ./lab reset
Exploit Code
See
poc/poc_cve_2026_103355.pyfor the full oracle client,provision/install.phpfor the lab widget/terms setup, andlabfor the vulnerable/patched matrix driver.
| |
The injected clause on the vulnerable build is:
| |
Expected Output
Vulnerable control (2.0.20):
| |
Patched control (2.0.21):
| |
Detection & Indicators of Compromise
- WordPress access logs for builder/Elementor pages (
/?page_id=<id>) returning 200 to unauthenticated clients, clustered with atypical volumes of the same page, especially from a single source probing the boolean differential. - Stored widget settings containing identifiers with SQL metacharacters (
),--,OR 1=1,OR 1=2,UNION,SLEEP() in_elementor_dataor the addon library tables — the plugin’s identifiers should be digits and commas only. - MySQL general/audit log entries containing
AND tt.parent IN (followed by anything other than a numeric list, orIN (999999) OR. - WAF/IDS hits on URL- or body-encoded boolean payloads (
%29+OR+1%3D1,OR 1=2 --) against WordPress builder pages. - On patched sites, plugin-side
Field parent terms id's allow only numbers and comas.errors indicate an attempted or previously stored injection. - Version screen:
wp-content/plugins/unlimited-elements-for-elementor/readme.txtwith a Stable tag at or below 2.0.20 (the bundled nuclei template performs only this version check).
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade Unlimited Elements For Elementor to 2.0.21 or later, which validates the direct-children identifiers with validateIDsList() (digits and commas only) before the terms_clauses concatenation. |
| Workaround | Remove the terms-listing widget from layouts, or switch it out of the direct_children_of_selected_terms include mode, until the plugin is patched. Only trusted administrators should be able to edit widget settings on a vulnerable site. |
| Config Hardening | Add a WAF/reverse-proxy rule for SQL metacharacters in requests to Elementor builder pages, restrict who can publish Elementor layouts, keep WordPress/Elementor current, and alert on non-numeric values in stored *_include_direct_children_of_selected_terms settings. |
References
Notes
Auto-ingested from https://github.com/Hassham1/CVE-2026-103355-unlimited-elements-sqli-poc on 2026-11-25.
Review verdict: this is a genuine exploit PoC, not a scanner. The repository contains a working blind-SQL-injection oracle (poc/poc_cve_2026_103355.py), a Docker lab that provisions the vulnerable widget settings, a 2.0.21 patched negative control, and a nuclei template that is a version screen only (the README says so explicitly; the behavioral oracle is done by the Python PoC). It was therefore ingested as Status PoC rather than skipped or marked Weaponized: the oracle demonstrates arbitrary SQL execution through the injected boolean but does not extract data, and the payloads are provisioned into the widget settings rather than injected through a request — the upstream research explicitly does not claim request-side reachability.
License: MIT (Copyright (c) 2026 ikzero), see LICENSE. No credentials, binaries or archives were copied; assets/ is created at runtime by the lab driver and is not part of this entry.
Limitations: the boolean differential depends on the terms-listing widget being rendered in the vulnerable include mode, and on pages being reachable; UNION/error/time-based extraction, request-side payload injection, and testing of versions <= 2.0.19 are not covered. The lab is loopback-bound and the PoC refuses non-loopback targets unless --allow-authorized-non-loopback is supplied. Nothing here was executed during ingestion; run it only against systems you own or are explicitly authorized to test.