WordPress Plugin Vulnerabilities

Print, PDF, Email by PrintFriendly < 5.2.3 - Admin+ Stored Cross-Site Scripting

Description

The plugin does not sanitise and escape the Custom Button Text settings, which could allow high privilege users such as admin to perform cross-Site Scripting attacks even when the unfiltered_html capability is disallowed

Proof of Concept

In the plugin's settings, tick 'Custom Button' and put the following payload in the Text field: <img src=x onerror=alert(/XSS/)>

The XSS will be triggered when accessing the plugin's settings page, as well as all frontend pages

Affects Plugins

Fixed in 5.2.3

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
muhamad hidayat
Submitter
muhamad hidayat
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-05-30 (about 1 years ago)
Added
2022-05-30 (about 1 years ago)
Last Updated
2023-02-23 (about 9 months ago)

Other