The plugin does not validate and escape one of its shortcode attributes, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attack
Exploit shortcode: [wp_dark_mode class=‘" onmouseover=“alert(1)”’]
CPE | Name | Operator | Version |
---|---|---|---|
wp-dark-mode | lt | 4.0.0 |