Lucene search

K
wpexploitLana CodesWPEX-ID:533C19D5-219C-4389-A8BF-8B3A35B33B20
HistoryJan 28, 2023 - 12:00 a.m.

ShopLentor < 2.5.4 - Contributor+ Stored XSS

2023-01-2800:00:00
Lana Codes
132
shoplentor
contributor+
stored xss
gutenberg block
additional css
xss payload
template builder
admin
woocommerce template

0.001 Low

EPSS

Percentile

23.3%

The plugin does not validate and escape some of its block options before outputting them back in a page/post where the block is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

As a contributor, add a "WL : FAQ" Gutenberg block to a post, and put the following payload in the "Additional CSS class(es)" advance settings of the block:

" onmouseover="alert(/XSS/)" style="background:red;"

The payload will be triggered when viewing/previewing the post and moving the mouse over the red block.

Note: A Template Builder needs to be present (one can be created by an admin at /wp-admin/edit.php?post_type=woolentor-template)

0.001 Low

EPSS

Percentile

23.3%

Related for WPEX-ID:533C19D5-219C-4389-A8BF-8B3A35B33B20