Lucene search

K
wpexploitDmitrii IgnatyevWPEX-ID:E9D53CB9-A5CB-49F5-BCBA-295AE6FA44C3
HistoryMar 27, 2024 - 12:00 a.m.

Social Media Share Buttons < 2.8.9 - Admin+ Stored XSS via settings

2024-03-2700:00:00
Dmitrii Ignatyev
18
social media icons
stored xss
admin+
vulnerability
exploit
frontend

5.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

8.7%

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)

1. Go to "Ultimate Social Media Icons" 
2. Under "Which icons do you want to show on your site?", select X
3. Under "What do you want the icons to do?", in the field "Follow me on X" add the payload: `(https://asd\\\\\\\"onmouseover=alert(112312)//)`
4. Save the settings
5. Then add the "Ultimate Social Media Icons" widget to your site's widget area
6. View the frontend of the site and move your mouse over the X menu and submenu to see the XSS

5.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

8.7%

Related for WPEX-ID:E9D53CB9-A5CB-49F5-BCBA-295AE6FA44C3