# Ajax Search Lite – Live Search & Filter <= 4.14.8 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Search Results

- **ID:** WPSEC-2026-4320
- **Plugin:** Ajax Search Lite – Live Search & Filter (`ajax-search-lite`), https://wordpress.org/plugins/ajax-search-lite/
- **Affected versions:** all versions before 4.14.9
- **Fixed in:** 4.14.9 (Update to 4.14.9 or later.)
- **Severity:** Medium 5.0 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ajax-search-lite
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4320/

## Description

The Ajax Search Lite – Live Search & Filter plugin for WordPress is vulnerable to arbitrary shortcode execution via search results in all versions up to, and including, 4.14.8. This is due to the plugin running the 'the_content' filter, which executes shortcodes, on the content and custom description fields of any matching post and, when the image option to apply the_content is enabled, on its body, without checking whether the post's author may use shortcodes and without setting the result as the current post, so guards such as bbPress's block on shortcodes in forum topics and replies do not apply. This makes it possible for authenticated attackers with subscriber-level access and above who can publish searchable content, such as bbPress topics and replies, to embed arbitrary shortcodes that run when the content appears in search results, including searches by unauthenticated visitors. Where bbPress allows anonymous posting, or a front-end submission plugin publishes guest posts, no account is needed. In recent versions this requires the plugin to be set to execute shortcodes in result descriptions or to apply the_content when finding result images (both off by default), with the forum post types among the searched post types.

## References

- https://wpsec.com/vuln/WPSEC-2026-4320/
- https://plugins.svn.wordpress.org/ajax-search-lite/tags/4.14.9/
- https://wordpress.org/plugins/ajax-search-lite/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4320/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
