Ajax Search Lite – Live Search & Filter <= 4.14.7 - Unauthenticated Arbitrary Shortcode Execution via Search Phrase

Medium 6.5 CWE-94Fixed in 4.14.8
ID
WPSEC-2026-3876
Plugin
Ajax Search Lite – Live Search & Filter (ajax-search-lite)
Affected
from 4.12 before 4.14.8
Remediation
Update to 4.14.8 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-94
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-11-25
Attack surface
Ajax Search Lite – Live Search & Filter on WPSec AttackSurface
Fix released
Published

Description

The Ajax Search Lite – Live Search & Filter plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the search phrase in all versions up to, and including, 4.14.7. This is due to the visitor's search phrase (get_search_query()) being printed into the search box input value with only attribute escaping, which leaves square brackets intact. When the search form is rendered by the plugin's block, its output goes through a later shortcode pass, for example the_content's do_shortcode run after do_blocks, or a block widget. That pass then executes any shortcode in the phrase. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes by placing them in the search query on pages that show the search block.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0