Lucene search

K
wpexploitZhangyunpeiWPEX-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
178
stored xss
admin
settings
default share image
plugin

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

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.

0.001 Low

EPSS

Percentile

23.5%

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