WordPress Plugin Vulnerabilities

Time Sheets < 1.29.3 - Admin+ Stored XSS

Description

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)

Proof of Concept

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.

Affects Plugins

Fixed in 1.29.3

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Shreya Pohekar
Submitter
Shreya Pohekar
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-03-20 (about 1 years ago)
Added
2023-03-20 (about 1 years ago)
Last Updated
2023-03-20 (about 1 years ago)

Other