WordPress Plugin Vulnerabilities

WP Staging (Free < 3.4.0, Pro < 5.4.0) - 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. Go to "WP Staging > Backup & Migration"
2. Edit an existing backup's "Backup Name" field, setting it to: `123123" onmouseover='alert(1)'`
3. Save and see the XSS when reopening the edit screen

Affects Plugins

Fixed in 3.4.0
Fixed in 5.4.0

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Dmitrii Ignatyev
Submitter
Dmitrii Ignatyev
Submitter website
Verified
Yes

Timeline

Publicly Published
2024-03-27 (about 1 months ago)
Added
2024-03-27 (about 1 months ago)
Last Updated
2024-04-15 (about 1 months ago)

Other