Lucene search

K
wpvulndbLana CodesWPVDB-ID:54168861-C0B8-4DE6-A9AF-0AD5C20B4A45
HistoryDec 27, 2022 - 12:00 a.m.

Search & Filter < 1.2.16 - Contributor+ Stored XSS

2022-12-2700:00:00
Lana Codes
wpscan.com
15
plugin
stored xss
validation
escape
shortcode
attribute
contributor
attack
admin
search
software

0.001 Low

EPSS

Percentile

23.3%

The plugin does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admin.

PoC

Insert the following shortcode in a page/post: [searchandfilter class=‘" onmouseover=“alert(1)”’] The alert triggers successfully when the search form is hovered with the mouse.

CPENameOperatorVersion
search-filterlt1.2.16

0.001 Low

EPSS

Percentile

23.3%

Related for WPVDB-ID:54168861-C0B8-4DE6-A9AF-0AD5C20B4A45