CVE-2026-126756: Listdom: AI-powered Business Directory with Classifieds Ads Listings <= 6.4.0 - Unauthenticated Deserialization of Untrusted Data via 'args[atts][lsd_display][<skin>][style]' Parameter
The Listdom: AI-powered Business Directory with Classifieds Ads Listings plugin for WordPress is vulnerable to Deserialization of Untrusted Data in all versions up to, and including, 6.4.0 via the args[atts][lsddisplay][<skin>][style] parameter of the unauthenticated lsdajaxsearch AJAX handler. The vulnerability exists because the handler accepts an attacker-controlled numeric style value without a capability check, casts it to a post ID, loads the corresponding WPPost, and passes its postcontent to maybeunserialize() inside LSDSkins::containsmaplink() with no allowedclasses restriction. This makes it possible for unauthenticated attackers to achieve remote code execution by chaining four steps: injecting a role attribute via an unescaped REQUESTURI interpolation in templates/dashboard/auth.php to obtain a plugin-signed role signature, self-registering a Publisher account using the nopriv-exposed lsdregister handler, uploading a polyglot JPEG containing embedded PHP as a listing image and storing a serialized gadget chain verbatim in postcontent, then triggering deserialization via the search handler to cause the Illuminate\View\View gadget chain to invoke PhpEngine::evaluatePath() and include the uploaded JPEG, executing arbitrary PHP code on the server. Exploitation requires that an administrator has published a page containing the [listdom-dashboard] shortcode (the default setup step Listdom instructs operators to perform during installation) and that guest registration and profile image upload have not been disabled, both of which are enabled by default.
Affected Software
Event History
Frequently Asked Questions
Does exploitation require an existing WordPress or Listdom account?
No. The vulnerable search handler is unauthenticated, and the described chain includes self-registering a Publisher account through the nopriv-exposed lsd_register handler rather than relying on an existing account.
What access or capabilities does an attacker need during the exploitation chain?
The described chain requires the attacker to obtain a plugin-signed role signature, register a Publisher account, upload a polyglot JPEG containing embedded PHP as a listing image, and store a serialized gadget chain in post content. The final deserialization is then triggered through the unauthenticated lsd_ajax_search handler.
Which request component triggers the deserialization step?
The lsd_ajax_search AJAX handler processes the args[atts][lsd_display][<skin>][style] parameter. Its numeric value is cast to a post ID, and that post's content is passed to maybe_unserialize() without an allowed_classes restriction.