WordPress Plugin Vulnerabilities

WP Social Sharing <= 2.2 - Admin+ Stored XSS

Description

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

1. Go to Settings » WP Social Sharing page of the plugin, enter the following payload into the input box named 'Default share image': x" onerror="alert(/XSS/)"

2. Click 'Save Changes' and refresh the page to see the XSS popup.

Affects Plugins

No known fix

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
zhangyunpei and Yeting Li VARAS@IIE
Submitter
zhangyunpei
Verified
Yes

Timeline

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

Other