WordPress Plugin Vulnerabilities

Float to Top Button <= 2.3.6 - Admin+ Stored Cross-Site Scripting

Description

The plugin does not 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

Put the following payload in the "Text for the button" or "URL of a custom "Top of Page" image" settings of the plugin and save: "autofocus onfocus=alert(/XSS/)//

The XSS will be triggered when accessing the settings page again

Affects Plugins

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Asif Nawaz Minhas
Submitter
Asif Nawaz Minhas
Submitter website
Verified
Yes

Timeline

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

Other