WordPress Plugin Vulnerabilities

Gutenberg Blocks by Kadence Blocks < 3.2.37 - Contributor+ Stored XSS

Description

The plugin does not validate and escape some of its block attributes 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

Proof of Concept

Add a Lottie Animation block to a post and put the following payload in the "Lottie Animation URL" option of the block: https://lottie.host/9a802a6b-8684-423f-9eb3-c88be9caa335/QuOMXrIn7t.lottie" onmouseover=alert(/XSS/)//


The XSS will be triggered when any user will (pre)view the post and move the mouse over the generated image

Affects Plugins

Fixed in 3.2.37

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Dmitrii Ignatyev
Submitter
Dmitrii Ignatyev
Verified
Yes

Timeline

Publicly Published
2024-05-14 (about 1 months ago)
Added
2024-05-14 (about 1 months ago)
Last Updated
2024-05-14 (about 1 months ago)

Other