Ajax Search Lite – Live Search & Filter <= 4.14.7 - Unauthenticated Arbitrary Shortcode Execution via Search Phrase
- 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
- https://wpsec.com/vuln/WPSEC-2026-3876/
- https://plugins.svn.wordpress.org/ajax-search-lite/tags/4.14.8/
- https://wordpress.org/plugins/ajax-search-lite/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS