WordPress Plugin Vulnerabilities

WBW Currency Switcher for WooCommerce < 1.6.6 - 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

In the plugin's settings (WooCommerce > Settings > Currency > Frontend Switcher), tick "Enable switcher" and put the following payload in the "Panel header text" settings: <img src onerror=alert(/XSS/)>

Save the settings. The XSS will be triggered when viewing the settings page again, as well as in any frontend page

Affects Plugins

Fixed in 1.6.6

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Asif Nawaz Minhas
Submitter
Asif Nawaz Minhas
Verified
Yes

Timeline

Publicly Published
2022-08-22 (about 1 years ago)
Added
2022-08-22 (about 1 years ago)
Last Updated
2023-05-11 (about 1 years ago)

Other