Lucene search

K
wpvulndbZhangyunpeiWPVDB-ID:BA372400-96F7-45A9-9E89-5984ECC4D1E2
HistoryDec 07, 2022 - 12:00 a.m.

WP Social Sharing <= 2.2 - Admin+ Stored XSS

2022-12-0700:00:00
zhangyunpei
wpscan.com
10
wordpress
social sharing
xss
admin
stored cross-site scripting

0.001 Low

EPSS

Percentile

23.5%

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).

PoC

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.

CPENameOperatorVersion
wp-social-sharingeq*

0.001 Low

EPSS

Percentile

23.5%

Related for WPVDB-ID:BA372400-96F7-45A9-9E89-5984ECC4D1E2