The plugin does not escape the 1) sdm_active_tab GET parameter and 2) sdm_stats_start_date/sdm_stats_end_date POST parameters before outputting them back in attributes, leading to Reflected Cross-Site Scripting issues
PoC 1: This requires Firefox due to onclick+accesskey trick on hidden input. There is another injection point, but magic quotes are doing its job (it’s inside badly-enqueued inline JS) 1) Go to https://example.com/wp-admin/edit.php?post_type=sdm_downloads&page;=sdm-stats&sdm;_active_tab=browserList"+accesskey%3DA+onclick%3Dalert(origin)%2F%2F 2) Press Alt-Shift-A (Windows) or Cmd-Alt-A (macOS) PoC 2: This does not have browser requirement.
CPE | Name | Operator | Version |
---|---|---|---|
simple-download-monitor | lt | 3.9.5 |