WordPress Plugin Vulnerabilities

Campaign URL Builder < 1.8.2 - 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 could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

Proof of Concept

The shortcode need to be active (can be done via the Shortcode tab settings of the plugin), and a bitly API key set (can be a dummy one such as 'aaa') via the Advanced settings of the plugin

[Campaign-URL-Builder wrapper='" onmouseover="alert(/XSS/)"']

Other attributes were also affected (such as wrapper-inline-style, form-inline-style, input-class, form and custom_parameters)

Affects Plugins

Fixed in 1.8.2

References

Classification

Type
XSS
CWE

Miscellaneous

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

Timeline

Publicly Published
2023-02-16 (about 1 years ago)
Added
2023-02-16 (about 1 years ago)
Last Updated
2023-02-16 (about 1 years ago)

Other