WordPress Plugin Vulnerabilities

Text Hover < 4.2 - Admin+ Stored Cross-Site Scripting

Description

The plugin does not sanitize and escape the text to hover, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed.

Proof of Concept

As admin, put the following in the plugin's settings: test => "><script>alert(/XSS/)</script>

Tick the "Enable text hover in comments?", post a comment on a post/page with the 'test' word and hover over it to trigger the XSS

Can also edit a post and put the 'test' word in it to achieve the same result

Affects Plugins

Fixed in 4.2

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Rohan Chaudhari
Submitter
Rohan Chaudhari
Verified
Yes

Timeline

Publicly Published
2022-03-28 (about 2 years ago)
Added
2022-03-28 (about 2 years ago)
Last Updated
2022-04-09 (about 2 years ago)

Other