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

Medium 5.0 CWE-94Fixed in 4.14.9
ID
WPSEC-2026-4320
Plugin
Ajax Search Lite – Live Search & Filter (ajax-search-lite)
Affected
all versions before 4.14.9
Remediation
Update to 4.14.9 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-12-01
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 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

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