WordPress Plugin Vulnerabilities

Top 10 < 3.2.3 - Contributor+ Stored XSS

Description

The plugin does not validate and escape some of its Block attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.

Proof of Concept

1. Insert a Top 10 Popular Posts block, and give it the following additional CSS classes: " onmouseover="alert(1)" style="background:red;width:100px;height:100px;"

2. Hover over the block where it's inserted, and the JavaScript alert will trigger successfully.

Affects Plugins

Fixed in 3.2.3

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-12-29 (about 1 years ago)
Added
2022-12-29 (about 1 years ago)
Last Updated
2022-12-29 (about 1 years ago)

Other