WordPress Plugin Vulnerabilities

WP Downgrade < 1.2.3 - Admin+ Stored Cross-Site Scripting

Description

The plugin only perform client side validation of its "WordPress Target Version" settings, but does not sanitise and escape it server side, allowing high privilege users such as admin to perform Cross-Site attacks even when the unfiltered_html capability is disallowed

Proof of Concept

Access the settings of the plugin (/wp-admin/options-general.php?page=wp_downgrade) and remove the max length as well as pattern attribute on the "WordPress Target Version" settings field, then put the following payload in it and save: <script>alert(/XSS/)</script>

Affects Plugins

Fixed in 1.2.3

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Taurus Omar
Submitter
Taurus Omar
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-03-22 (about 2 years ago)
Added
2022-03-22 (about 2 years ago)
Last Updated
2022-04-11 (about 2 years ago)

Other