------------------------------------------------------------------------ Cross-Site Scripting vulnerability in Tribulant Slideshow Galleries WordPress Plugin ------------------------------------------------------------------------ Spyros Gasteratos, July 2016 ------------------------------------------------------------------------ Abstract ------------------------------------------------------------------------ A Cross-Site Scripting vulnerability was found in the Tribulant Slideshow Galleries WordPress Plugin. This issue allows an attacker to perform a wide variety of actions, such as stealing Administrators' session tokens, or performing arbitrary actions on their behalf. In order to exploit this issue, the attacker has to lure/force a logged on WordPress Administrator into opening a malicious website. ------------------------------------------------------------------------ OVE ID ------------------------------------------------------------------------ OVE-20160714-0016 ------------------------------------------------------------------------ Tested versions ------------------------------------------------------------------------ This issue was successfully tested on Tribulant Slideshow Galleries WordPress Plugin version 1.6.3. ------------------------------------------------------------------------ Fix ------------------------------------------------------------------------ A fix for this issue is not available. ------------------------------------------------------------------------ Details ------------------------------------------------------------------------ https://sumofpwn.nl/advisory/2016/cross_site_scripting_vulnerability_in_tribulant_slideshow_galleries_wordpress_plugin.html A reflected cross site scripting vulnerability exists in the plugin Slideshow Galleries. This issue is due to to the fact that the view/admin/galleries/index.php file uses the following code to output an HREF link: "">" The above code fails to perform any output encoding on the retainquery method, thus allowing the tag to be closed and to inject a script element: /wp-admin/admin.php?page=slideshow-galleries&method=save">