Lucene search

K
wpexploitShreya PohekarWPEX-ID:FD6EF6EE-15E9-44AC-A2DB-976393A3B71A
HistoryMar 20, 2023 - 12:00 a.m.

Time Sheets < 1.29.3 - Admin+ Stored XSS

2023-03-2000:00:00
Shreya Pohekar
58
time sheets
admin
stored xss
exploit
security document

EPSS

0.001

Percentile

23.5%

The plugin does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)

1. Login as Admin.
2. Go to https://example.com/wp-admin/admin.php?page=time_sheets_settings
3. Insert the payload `'><script>alert(1)</script>` in the field `Email address to email when a project is over on hours:`
4. Click on save changes and XSS payload will be stored and triggered.

EPSS

0.001

Percentile

23.5%

Related for WPEX-ID:FD6EF6EE-15E9-44AC-A2DB-976393A3B71A