The plugin does not validate and escape some of its block options before outputting them back in a page/post where the block is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.
Add a "Scriptless Social Sharing" Gutenberg block to a post and put the following payload in the "Additional CSS class(es)" advanced block option: " onmouseover="alert(/XSS/)" style="background:red;" The XSS will be triggered when previewing/viewing the post and moving the mouse over the red block
Lana Codes
Lana Codes
Yes
2023-02-09 (about 3 months ago)
2023-02-09 (about 3 months ago)
2023-02-09 (about 3 months ago)