WordPress Plugin Vulnerabilities

Landing Page Builder < 1.4.9.9 - Contributor+ Cross-Site Scripting via Shortcode

Description

The plugin does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.

Proof of Concept

1. Insert the following shortcode in a post/page: [pb_samlple_nav menu_class="menu-style-1" pb_logo_url="invalid' onerror='alert(1)'"]

2. Browse the page/post and notice the alert triggers successfully.

Affects Plugins

Fixed in 1.4.9.9

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-12-27 (about 1 years ago)
Added
2022-12-27 (about 1 years ago)
Last Updated
2023-01-03 (about 1 years ago)

Other