WordPress Plugin Vulnerabilities

Top Bar < 3.0.4 - Admin+ Stored Cross-Site Scripting

Description

The plugin does not sanitise and escape some of its settings before outputting them in frontend pages, 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 Content > Message settings of the plugin: <img src onerror=alert(/XSS/)>

The XSS will be triggered in all frontend pages

Affects Plugins

Fixed in 3.0.4

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

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

Timeline

Publicly Published
2022-09-19 (about 1 years ago)
Added
2022-09-19 (about 1 years ago)
Last Updated
2022-09-19 (about 1 years ago)

Other