Lucene search

K
wpexploitPablo SanchezWPEX-ID:084E9494-2F9E-4420-9BF7-78A1A41433D7
HistorySep 11, 2023 - 12:00 a.m.

Booking Calendar < 9.7.3.1 - Unauthenticated Stored XSS

2023-09-1100:00:00
Pablo Sanchez
43
unauthenticated user
booking form
xss
admin access
calendar overview
dashboard
exploit

EPSS

0.001

Percentile

34.8%

Description The plugin does not sanitize and escape some of its booking from data, allowing unauthenticated users to perform Stored Cross-Site Scripting attacks against administrators

As an unauthenticated user, submit a booking form (such form can be added via the Booking Calendar Block on a page/post) with the payload below in the First or Last Name field:

"><img src=1 onerror="javascript:alert(document.cookie)"></img>

Which is the HTML encoded of ><img src=1 onerror="javascript:alert(document.cookie)"></img>


The XSS will be triggered when an admin will access the calendar overview dashboard (ie /wp-admin/admin.php?page=wpbc&view_days_num=90&view_mode=vm_calendar)

EPSS

0.001

Percentile

34.8%

Related for WPEX-ID:084E9494-2F9E-4420-9BF7-78A1A41433D7